Search
lxdream.org :: lxdream/src/drivers/video_glx.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/drivers/video_glx.c
changeset 1236:d93175c36387
prev1222:a4545699a82b
next1246:887f7b0ac7f3
author nkeynes
date Tue Feb 28 17:25:26 2012 +1000 (12 years ago)
permissions -rw-r--r--
last change Implement display output for the GLES2 case (no fixed function
rendering)
file annotate diff log raw
1.1 --- a/src/drivers/video_glx.c Wed Feb 15 17:54:51 2012 +1000
1.2 +++ b/src/drivers/video_glx.c Tue Feb 28 17:25:26 2012 +1000
1.3 @@ -402,6 +402,7 @@
1.4 glRasterPos2f(0.375, frame->height-0.375);
1.5 glPixelZoom( 1.0, 1.0 );
1.6 glDrawPixels( frame->width, frame->height, format, type, frame->data );
1.7 + glPixelStorei( GL_UNPACK_ROW_LENGTH, 0 );
1.8 glFlush();
1.9 }
1.10
.