mirror of
https://github.com/glest/glest-source.git
synced 2025-08-31 03:39:54 +02:00
- added new lua method to play video's in scenarios:
playStaticVideo
This commit is contained in:
@@ -1339,7 +1339,11 @@ bool VideoPlayer::playFrame(bool swapBuffers) {
|
||||
#else
|
||||
const double HEIGHT_MULTIPLIER = 0.80;
|
||||
const double WIDTH_MULTIPLIER = 0.60;
|
||||
// const double HEIGHT_MULTIPLIER = 1.0;
|
||||
// const double WIDTH_MULTIPLIER = 1.0;
|
||||
|
||||
#endif
|
||||
|
||||
glBegin(GL_TRIANGLE_STRIP);
|
||||
glTexCoord2i(0, 1);
|
||||
glVertex2i(ctxPtr->x, ctxPtr->y + ctxPtr->height * HEIGHT_MULTIPLIER);
|
||||
|
Reference in New Issue
Block a user