Searched defs:guTextureHeight (Results 1 - 1 of 1) sorted by relevance
/vbox/src/VBox/Frontends/VBoxSDL/ |
H A D | VBoxSDLTest.cpp | 58 static unsigned long guTextureHeight; /* height of OpenGL texture */ variable 345 for (guTextureHeight = 32; guTextureHeight < newHeight; guTextureHeight <<= 1) 347 RTPrintf(", tex %ldx%ld\n", guTextureWidth, guTextureHeight); 351 case 16: glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB5, guTextureWidth, guTextureHeight, 0, 354 case 24: glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, guTextureWidth, guTextureHeight, 0, 357 case 32: glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, guTextureWidth, guTextureHeight, 0, 422 GLfloat ty = (GLfloat)((float)rect.h) / guTextureHeight;
|
Completed in 54 milliseconds