diff src/video/windows/SDL_windowsvideo.c @ 5157:fb424691cfc7

Moved the rendering code out to a separate directory in the hope that it can someday be completely decoupled from the rest of the library and be expanded to an awesome 2D on 3D library.
author Sam Lantinga <slouken@libsdl.org>
date Wed, 02 Feb 2011 14:34:54 -0800
parents 57851a238c8f
children 9b2e99ebd099
line wrap: on
line diff
--- a/src/video/windows/SDL_windowsvideo.c	Wed Feb 02 14:34:24 2011 -0800
+++ b/src/video/windows/SDL_windowsvideo.c	Wed Feb 02 14:34:54 2011 -0800
@@ -29,7 +29,6 @@
 
 #include "SDL_windowsvideo.h"
 #include "SDL_windowsshape.h"
-#include "SDL_d3drender.h"
 
 /* Initialization/Query functions */
 static int WIN_VideoInit(_THIS);
@@ -50,12 +49,6 @@
     SDL_VideoData *data = (SDL_VideoData *) device->driverdata;
 
     SDL_UnregisterApp();
-#if SDL_VIDEO_RENDER_D3D
-    if (data->d3d) {
-        IDirect3D9_Release(data->d3d);
-        SDL_UnloadObject(data->d3dDLL);
-    }
-#endif
 #ifdef _WIN32_WCE
     if(data->hAygShell) {
        SDL_UnloadObject(data->hAygShell);
@@ -175,10 +168,6 @@
         return -1;
     }
 
-#if SDL_VIDEO_RENDER_D3D
-    D3D_AddRenderDriver(_this);
-#endif
-
     WIN_InitKeyboard(_this);
     WIN_InitMouse(_this);