OSMesa draws upside down
authorPatrice Mandin <patmandin@gmail.com>
Sat, 20 Nov 2004 20:47:52 +0000
changeset 980 7d6f8804a293
parent 979 c9d1ade1fb0b
child 981 8ba1b9cf9f12
OSMesa draws upside down
src/video/xbios/SDL_xbios.c
--- a/src/video/xbios/SDL_xbios.c	Wed Nov 17 23:23:03 2004 +0000
+++ b/src/video/xbios/SDL_xbios.c	Sat Nov 20 20:47:52 2004 +0000
@@ -992,6 +992,9 @@
 		return -1;
 	}
 
+	/* OSMesa draws upside down */
+	OSMesaPixelStore(OSMESA_Y_UP, 0);
+
 	return 0;
 }