mojo2: MAV error , failing to compile shader.
Monkey Forums/Monkey Programming/mojo2: MAV error , failing to compile shader.
| ||
Hi, I am converting some code to mojo2 and I get an error in 'glutil.monkey'. It appears that a shader can not be compiled. I was wondering what might be causing this (I have deleted the build directory). I am using 84e and TDM-GCC-64 with Glfw3. My other code and bananas seem to build OK. Edit- Line 910 is "New MyApp" from my code. Compiler output is from MinGW32, but it fails the same way on TDM-GCC-64. Glfw3+Angle Glfw3 |
| ||
Apparently you have to create a new canvas in OnCreate(). This will not work with mojo2 and will cause the above error. It might be nice to spit out some error text in console that the canvas context/object has not been created.Class MyApp Extends App Field canvas:Canvas=New Canvas End Class |