VirtGL: Fix warning in debug traces
authorFrédéric Dalleau <frederic.dalleau@linux.intel.com>
Tue, 3 Sep 2013 08:31:13 +0000 (10:31 +0200)
committerjinhyung.jo <jinhyung.jo@samsung.com>
Wed, 11 Sep 2013 09:15:02 +0000 (18:15 +0900)
Change-Id: I8715cbebc9cb60d2fb510259277cb0b0891c9a87

tizen/src/hw/opengl_exec.c

index 87fcdca..d1e206e 100644 (file)
@@ -1899,11 +1899,10 @@ int do_function_call(ProcessState *process, int func_number, unsigned long *args
                                           qsurface->status = SURFACE_ACTIVE;
 
                        bind_qsurface(glstate, qsurface);
-                       DEBUGF( " --Client drawable not found, create new surface: %16x %16lx\n", (unsigned int)qsurface, (unsigned long int)client_drawable);
-
+                       DEBUGF( " --Client drawable not found, create new surface: %p %16lx\n", qsurface, (unsigned long int)client_drawable);
                     }
                     else {
-                       DEBUGF( " --Client drawable found, using surface: %16x %16lx\n", (unsigned int)glstate->current_qsurface, (unsigned long int)client_drawable);
+                       DEBUGF( " --Client drawable found, using surface: %p %16lx\n", glstate->current_qsurface, (unsigned long int)client_drawable);
                     }
 #if 0
                     /*Test old surface contents */