I compile desmume 0.9.5 with gtkglext suppert.
run desmume-glade with "3d-engine=2" option
get follew message:
>>Shaders aren't supported on your system, using fixed pipeline
>>(Shaders aren't supported by your system.)
I try compile example file in gtkglext source package.
It's able to create/render shader, work normally.
opengl information:
GL_RENDERER = GeForce 8100 / nForce 720a/PCI/SSE2
GL_VERSION = 3.2.0 NVIDIA 190.53
GL_VENDOR = NVIDIA Corporation
I try insert follow code in desume source (this code copy from gtkglext example):
>> g_print ("\n");
>> g_print ("GL_RENDERER = %s\n", (char *) glGetString (GL_RENDERER));
>> g_print ("GL_VERSION = %s\n", (char *) glGetString (GL_VERSION));
>> g_print ("GL_VENDOR = %s\n", (char *) glGetString (GL_VENDOR));
>> g_print ("GL_EXTENSIONS = %s\n", (char *) glGetString (GL_EXTENSIONS));
>> g_print ("\n");
in 3 place.
first is init_opengl_gdk_3Demu function in gdk_3Demu.cpp
second is init_GL_capabilities function in gdk_gl.cpp
third is createShader function in OGLRender.cpp
recompile and run it.
result is intersting. the version, vendor, render info is same, but GL_EXTENSIONS is not.
the GL_EXTENSIONS in createShader function is less, lack some function.
for example, init_opengl_gdk_3Demu function in gdk_3Demu.cpp can list GL_ARB_vertex_shader, but createShader function in OGLRender.cpp without it
log in attachment, hope it is useful
Anonymous
output log
Thanks for reporting, sorry for taking that long to respond but i still need to sort out the issue. Good catch though.