comparison 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
comparison
equal deleted inserted replaced
2809:7e257c3a3bf0 2810:27cb878a278e
242 data->WM_DELETE_WINDOW = 242 data->WM_DELETE_WINDOW =
243 XInternAtom(data->display, "WM_DELETE_WINDOW", False); 243 XInternAtom(data->display, "WM_DELETE_WINDOW", False);
244 244
245 X11_InitModes(_this); 245 X11_InitModes(_this);
246 246
247 #if SDL_VIDEO_RENDER_X11
248 X11_AddRenderDriver(_this);
249 #endif
250
247 if (X11_InitKeyboard(_this) != 0) { 251 if (X11_InitKeyboard(_this) != 0) {
248 return -1; 252 return -1;
249 } 253 }
250 X11_InitMouse(_this); 254 X11_InitMouse(_this);
251 255