diff TaskManager/Test/test_render/polygon.cpp @ 238:443c7ae1c7a7 draft

warning clean
author admin@mcbk.cr.ie.u-ryukyu.ac.jp
date Fri, 29 May 2009 13:43:52 +0900
parents 5bb12a76a335
children a046c5dac580 cfd20d609ace
line wrap: on
line diff
--- a/TaskManager/Test/test_render/polygon.cpp	Sat May 16 20:49:36 2009 +0900
+++ b/TaskManager/Test/test_render/polygon.cpp	Fri May 29 13:43:52 2009 +0900
@@ -301,7 +301,7 @@
     //printf("tx = %d ty = %d ", tx,ty); 
     //printf("pixel color =>  R: %d,  G: %d,  B: %d\n", red, green, blue);
 
-    SDL_PixelFormat *pf;
+    SDL_PixelFormat *pf = NULL;
     //pf = viewer->screen->format;
 
     //cout << SDL_MapRGB(pf, red, green, blue) << endl;