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 Fri Feb 24 21:17:47 2012 +1000 (7 years ago)
permissions -rw-r--r--
last change Factor video_width/video_height out into video_gl.c
Convert immediate-mode bits in video_gl.c into a structure for glDrawArray
Move setOrtho into defineOrthoMatrix in glutil.c
Rearrange various GL settings to keep a consistent state
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 Fri Feb 24 21:17:47 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
.