From 7e291e922e53a70d84751538b15c6c16310cca7f Mon Sep 17 00:00:00 2001 From: Christoph Bumiller Date: Tue, 3 Jan 2012 23:00:31 +0100 Subject: st/mesa: use SINT/UINT formats for VertexAttribIPointer Reviewed-by: Dave Airlie v2: added assertion that packed formats are not pure integer --- src/mesa/state_tracker/st_draw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/state_tracker/st_draw.h') diff --git a/src/mesa/state_tracker/st_draw.h b/src/mesa/state_tracker/st_draw.h index 2623cdbb1ff..47bdb11f81c 100644 --- a/src/mesa/state_tracker/st_draw.h +++ b/src/mesa/state_tracker/st_draw.h @@ -73,7 +73,7 @@ st_feedback_draw_vbo(struct gl_context *ctx, */ extern enum pipe_format st_pipe_vertex_format(GLenum type, GLuint size, GLenum format, - GLboolean normalized); + GLboolean normalized, GLboolean integer); /** -- cgit v1.2.3