When I start my project and I select my ‘main.collection’ the visual grid window in the middle is red, and Defold drops out an error message:
com.jogamp.opengl.GLException: Not initialized: ResizeableImpl[Initialized false, realized true, texUnit 0, samples 0,
Factory jogamp.opengl.windows.wgl.WindowsWGLDrawableFactory@1b4d48f,
Handle 0x27010d75,
Caps GLCaps[wgl vid 6 arb: rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/8/0, one, mono , hw, GLProfile[GL2/GL2.hw], offscr[fbo]],
fboI back 0, front 0, num 0,
FBO front read 0, null,
FBO back write 0, null,
Surface GDISurface[ displayHandle 0x0
, surfaceHandle 0x27010d75
, size 716x297
, UOB[ OWNS_SURFACE | OWNS_DEVICE | WINDOW_INVISIBLE ]
, WindowsWGLGraphicsConfiguration[DefaultGraphicsScreen[WindowsGraphicsDevice[type .windows, connection decon, unitID 0, handle 0x0, owner false, NullToolkitLock[obj 0x71169e]], idx 0], pfdID 6, ARB-Choosen true,
requested GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/8/0, one, mono , hw, GLProfile[GL2/GL2.hw], offscr[fbo, pbuffer]],
chosen GLCaps[wgl vid 6 arb: rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/8/0, one, mono , hw, GLProfile[GL2/GL2.hw], offscr[fbo]]]
, surfaceLock <15c3a81, 1650d12>[count 1, qsz 0, owner <JavaFX Application Thread>]
, GDIDummyUpstreamSurfaceHook[pixel 716x297]
, upstreamSurface false ]]
I thought my OpenGL isn’t at version 2.0, but then I checked it and I have OpenGL 2.1.
What could be the problem?