test/testnative.c
changeset 3060 4cf533f434d8
parent 3057 089a77aebb7d
child 3536 0267b8b1595c
     1.1 --- a/test/testnative.c	Mon Feb 09 06:28:45 2009 +0000
     1.2 +++ b/test/testnative.c	Mon Feb 09 06:41:49 2009 +0000
     1.3 @@ -29,7 +29,7 @@
     1.4  {
     1.5      SDL_VideoQuit();
     1.6      if (native_window) {
     1.7 -        factory->DestroyWindow(native_window);
     1.8 +        factory->DestroyNativeWindow(native_window);
     1.9      }
    1.10      exit(rc);
    1.11  }
    1.12 @@ -137,7 +137,7 @@
    1.13          quit(2);
    1.14      }
    1.15      printf("Creating native window for %s driver\n", driver);
    1.16 -    native_window = factory->CreateWindow(WINDOW_W, WINDOW_H);
    1.17 +    native_window = factory->CreateNativeWindow(WINDOW_W, WINDOW_H);
    1.18      if (!native_window) {
    1.19          fprintf(stderr, "Couldn't create native window\n");
    1.20          quit(3);