diff TaskManager/Test/test_render/viewerSDL.cpp @ 217:bfdd037aee21 draft

fix
author gongo@localhost.localdomain
date Wed, 04 Feb 2009 22:50:42 +0900
parents 5a4f2497c22d
children 0351818cf0fe
line wrap: on
line diff
--- a/TaskManager/Test/test_render/viewerSDL.cpp	Wed Feb 04 22:44:16 2009 +0900
+++ b/TaskManager/Test/test_render/viewerSDL.cpp	Wed Feb 04 22:50:42 2009 +0900
@@ -24,7 +24,7 @@
 	exit(1);
     }
     
-    p = (Uint32*)manager->malloc(screen->pitch*height);
+    p = (Uint32*)manager->allocate(screen->pitch*height);
     bitmap = SDL_CreateRGBSurfaceFrom((void *)p,
 				      screen->w, screen->h,
 				      screen->format->BitsPerPixel,