You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I try to run Tut18BumpySquare then I get the following error:
freeglut (./Tut18BumpySquare): ERROR: Internal error <FBConfig with necessary capabilities not found> in function fgOpenWindow
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 4 (X_DestroyWindow)
Resource id in failed request: 0x0
Serial number of failed request: 38
Current serial number in output stream: 41
If I edit the default function ini BumpySquare.cpp and change:
unsigned int defaults(unsigned int displayMode, int &width, int &height)
{
g_displayWidth = width;
g_displayHeight = height;
return displayMode | GLUT_SRGB;
}
to look like (i.e. remove GLUT_SRGB)
unsigned int defaults(unsigned int displayMode, int &width, int &height)
{
g_displayWidth = width;
g_displayHeight = height;
return displayMode;
}
then the program runs, but I'm not sure whether the effects shown are correct or not.
The text was updated successfully, but these errors were encountered:
If I try to run
Tut18BumpySquare
then I get the following error:If I edit the default function ini BumpySquare.cpp and change:
to look like (i.e. remove GLUT_SRGB)
then the program runs, but I'm not sure whether the effects shown are correct or not.
The text was updated successfully, but these errors were encountered: