diff test/testnative.c @ 3060:4cf533f434d8

Implemented Win32 version of the native window test
author Sam Lantinga <slouken@libsdl.org>
date Mon, 09 Feb 2009 06:41:49 +0000
parents 089a77aebb7d
children 0267b8b1595c
line wrap: on
line diff
--- a/test/testnative.c	Mon Feb 09 06:28:45 2009 +0000
+++ b/test/testnative.c	Mon Feb 09 06:41:49 2009 +0000
@@ -29,7 +29,7 @@
 {
     SDL_VideoQuit();
     if (native_window) {
-        factory->DestroyWindow(native_window);
+        factory->DestroyNativeWindow(native_window);
     }
     exit(rc);
 }
@@ -137,7 +137,7 @@
         quit(2);
     }
     printf("Creating native window for %s driver\n", driver);
-    native_window = factory->CreateWindow(WINDOW_W, WINDOW_H);
+    native_window = factory->CreateNativeWindow(WINDOW_W, WINDOW_H);
     if (!native_window) {
         fprintf(stderr, "Couldn't create native window\n");
         quit(3);