diff src/video/dummy/SDL_nullvideo.c @ 2227:b252359547ed

Exported the software renderer texture functions to make easier to create a renderer based on a framebuffer. Fixed an initialization bug with the dummy video display mode.
author Sam Lantinga <slouken@libsdl.org>
date Sat, 11 Aug 2007 23:26:03 +0000
parents a788656ca29a
children c3e7c0698cbb 99210400e8b9
line wrap: on
line diff
--- a/src/video/dummy/SDL_nullvideo.c	Sat Aug 11 21:51:19 2007 +0000
+++ b/src/video/dummy/SDL_nullvideo.c	Sat Aug 11 23:26:03 2007 +0000
@@ -114,6 +114,7 @@
     mode.w = 1024;
     mode.h = 768;
     mode.refresh_rate = 0;
+    mode.driverdata = NULL;
     SDL_AddBasicVideoDisplay(&mode);
     SDL_AddRenderDriver(0, &SDL_DUMMY_RenderDriver);