Changeset 6599 in orxonox.OLD for branches/avi_play/src
- Timestamp:
- Jan 18, 2006, 5:19:27 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/avi_play/src/story_entities/movie_loader.cc
r6598 r6599 115 115 GraphicsEngine::enter2DMode(); 116 116 117 //glEnable(GL_TEXTURE_2D);118 //glBindTexture(GL_TEXTURE_2D, movie_player->getTexture());117 glEnable(GL_TEXTURE_2D); 118 glBindTexture(GL_TEXTURE_2D, movie_player->getTexture()); 119 119 120 120 glColor3f(1.0, 1.0, 1.0); 121 121 122 122 glBegin(GL_QUADS); 123 glTexCoord2f(1.0f, 1.0f); glVertex2f( 0, 0);124 glTexCoord2f( 0.0f, 1.0f); glVertex2f( 1,0);125 glTexCoord2f(0.0f, 0.0f); glVertex2f( 1, 1);126 glTexCoord2f( 1.0f, 0.0f); glVertex2f( 0, 1);123 glTexCoord2f(1.0f, 0.0f); glVertex2f( 0, 0); 124 glTexCoord2f(1.0f, 1.0f); glVertex2f( 0, 100); 125 glTexCoord2f(0.0f, 1.0f); glVertex2f( 100, 100); 126 glTexCoord2f(0.0f, 0.0f); glVertex2f( 100, 0); 127 127 glEnd(); 128 128
Note: See TracChangeset
for help on using the changeset viewer.