r300g: fix a copy-paste typo for logging
authorMarek Olšák <maraeo@gmail.com>
Thu, 23 Sep 2010 20:53:10 +0000 (22:53 +0200)
committerMarek Olšák <maraeo@gmail.com>
Fri, 24 Sep 2010 00:33:34 +0000 (02:33 +0200)
src/gallium/drivers/r300/r300_texture_desc.c

index 112282a0a6aeae15b7d3431572d6c0049ef0628f..20d1fdab4263447a401d7bcd0c9a59bc30badf2c 100644 (file)
@@ -444,10 +444,10 @@ boolean r300_texture_desc_init(struct r300_screen *rscreen,
     if (max_buffer_size) {
         /* Make sure the buffer we got is large enough. */
         if (desc->size_in_bytes > max_buffer_size) {
-            fprintf(stderr, "r300: texture_from_handle: The buffer is not "
+            fprintf(stderr, "r300: texture_desc_init: The buffer is not "
                             "large enough. Got: %i, Need: %i, Info:\n",
                             max_buffer_size, desc->size_in_bytes);
-            r300_tex_print_info(rscreen, desc, "texture_from_handle");
+            r300_tex_print_info(rscreen, desc, "texture_desc_init");
             return FALSE;
         }
 
@@ -457,7 +457,7 @@ boolean r300_texture_desc_init(struct r300_screen *rscreen,
     }
 
     if (SCREEN_DBG_ON(rscreen, DBG_TEX))
-        r300_tex_print_info(rscreen, desc, "texture_from_handle");
+        r300_tex_print_info(rscreen, desc, "texture_desc_init");
 
     return TRUE;
 }