changeset 980:7d6f8804a293

OSMesa draws upside down
author Patrice Mandin <patmandin@gmail.com>
date Sat, 20 Nov 2004 20:47:52 +0000
parents c9d1ade1fb0b
children 8ba1b9cf9f12
files src/video/xbios/SDL_xbios.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;
 }