st/mesa: fix crash when using both user and vbo buffers with the same stride
[mesa.git] / src / mesa / state_tracker / st_format.h
index fe195c1069b1d04d688bb8a8e60db3a6f1eeac00..0fb570f6ee495299777c5df4413f6485becb11e6 100644 (file)
@@ -77,4 +77,10 @@ st_equal_formats(enum pipe_format pFormat, GLenum format, GLenum type);
 extern GLboolean
 st_sampler_compat_formats(enum pipe_format format1, enum pipe_format format2);
 
+
+extern void
+st_translate_color(const GLfloat colorIn[4], GLenum baseFormat,
+                   GLfloat colorOut[4]);
+
+
 #endif /* ST_FORMAT_H */