diff src/video/x11/SDL_x11video.c @ 2810:27cb878a278e

Implemented the X11 (non-OpenGL) renderer, no alpha or scaling available.
author Sam Lantinga <slouken@libsdl.org>
date Sun, 30 Nov 2008 21:58:23 +0000
parents 6fc50bdd88c0
children 99210400e8b9
line wrap: on
line diff
--- a/src/video/x11/SDL_x11video.c	Sat Nov 29 21:48:14 2008 +0000
+++ b/src/video/x11/SDL_x11video.c	Sun Nov 30 21:58:23 2008 +0000
@@ -244,6 +244,10 @@
 
     X11_InitModes(_this);
 
+#if SDL_VIDEO_RENDER_X11
+    X11_AddRenderDriver(_this);
+#endif
+
     if (X11_InitKeyboard(_this) != 0) {
         return -1;
     }