Made GLFWvidmode members camel case.

This commit is contained in:
Camilla Berglund
2010-09-08 16:50:50 +02:00
parent 9a7166926c
commit af10b06439
7 changed files with 58 additions and 58 deletions

View File

@@ -28,8 +28,8 @@ int main( void )
// Show desktop video mode
glfwGetDesktopMode( &dtmode );
printf( "Desktop mode: %d x %d x %d\n\n",
dtmode.Width, dtmode.Height, dtmode.RedBits +
dtmode.GreenBits + dtmode.BlueBits );
dtmode.width, dtmode.height, dtmode.redBits +
dtmode.greenBits + dtmode.blueBits );
// List available video modes
modecount = glfwGetVideoModes( modes, MAX_NUM_MODES );
@@ -37,8 +37,8 @@ int main( void )
for( i = 0; i < modecount; i ++ )
{
printf( "%3d: %d x %d x %d\n", i,
modes[i].Width, modes[i].Height, modes[i].RedBits +
modes[i].GreenBits + modes[i].BlueBits );
modes[i].width, modes[i].height, modes[i].redBits +
modes[i].greenBits + modes[i].blueBits );
}
// Terminate GLFW