Mesa (master): nvfx: actually fix it properly

Luca Barbieri lb at kemper.freedesktop.org
Sat Aug 21 21:54:13 UTC 2010


Module: Mesa
Branch: master
Commit: 4edeeaf71564582d5afebc9cb59f4b3f7fb40a7e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4edeeaf71564582d5afebc9cb59f4b3f7fb40a7e

Author: Luca Barbieri <luca at luca-barbieri.com>
Date:   Sat Aug 21 23:53:39 2010 +0200

nvfx: actually fix it properly

---

 src/gallium/drivers/nvfx/nvfx_vbo.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/nvfx/nvfx_vbo.c b/src/gallium/drivers/nvfx/nvfx_vbo.c
index b1a0665..21d6e0e 100644
--- a/src/gallium/drivers/nvfx/nvfx_vbo.c
+++ b/src/gallium/drivers/nvfx/nvfx_vbo.c
@@ -433,7 +433,7 @@ nvfx_vtxelts_state_create(struct pipe_context *pipe,
 
 	if(num_elements > 16)
 	{
-		_debug_printf("Error: application attempted to use %u vertex elements, but only 16 are supported: ignoring the rest\n");
+		_debug_printf("Error: application attempted to use %u vertex elements, but only 16 are supported: ignoring the rest\n", num_elements);
 		num_elements = 16;
 	}
 




More information about the mesa-commit mailing list