From e860599e99e0a4e2f98030ea68256fae7cb9dfb5 Mon Sep 17 00:00:00 2001 From: Patrice Mandin Date: Sat, 20 Nov 2004 20:47:52 +0000 Subject: [PATCH] OSMesa draws upside down --- src/video/xbios/SDL_xbios.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/video/xbios/SDL_xbios.c b/src/video/xbios/SDL_xbios.c index 785b3e7bc..fb064dd0f 100644 --- a/src/video/xbios/SDL_xbios.c +++ b/src/video/xbios/SDL_xbios.c @@ -992,6 +992,9 @@ static int XBIOS_GL_MakeCurrent(_THIS) return -1; } + /* OSMesa draws upside down */ + OSMesaPixelStore(OSMESA_Y_UP, 0); + return 0; }