I use fedora 20, when kernel 3.16 my OpenGL work well, but when i update my linux 3.17 the OpenGL not work.
I find this error:
C++ code:
// Create the program object
programObject = glCreateProgram ( );
printf("-----------------> 2
“);
if ( programObject == 0 )
{
printf(”-----------------> 3
");
return 0;
}
The glCreateProgram return 0 make my program die, but i don’t know how to fix, if you know plesae help me fix it.
my source attach bellow, you can run it on eclipse or terminal.
According to the spec, glCreateProgram returning zero indicates that an error, but I could not find a list of possible errors.
Since it does not have any arguments, my best guess is out of memory? (That would be very strange tough)
[QUOTE=Agent D;1263803]According to the spec, glCreateProgram returning zero indicates that an error, but I could not find a list of possible errors.
Since it does not have any arguments, my best guess is out of memory? (That would be very strange tough)