summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/formats.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-10-01 16:27:23 -0600
committerBrian Paul <[email protected]>2009-10-01 16:27:23 -0600
commit040fd7ed44c21a1faaa6475888e9365e8f0de42b (patch)
tree45591993f937afd75411df6e161bfd5149ead649 /src/mesa/main/formats.h
parent1c7ec97ec47f294dcfc0c6a87ee26bb3565f95d4 (diff)
mesa: added _mesa_format_row_stride()
Diffstat (limited to 'src/mesa/main/formats.h')
-rw-r--r--src/mesa/main/formats.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/formats.h b/src/mesa/main/formats.h
index b91682809fd..316ff1a8ec6 100644
--- a/src/mesa/main/formats.h
+++ b/src/mesa/main/formats.h
@@ -206,6 +206,10 @@ extern GLuint
_mesa_format_image_size(gl_format format, GLsizei width,
GLsizei height, GLsizei depth);
+extern GLint
+_mesa_format_row_stride(gl_format format, GLsizei width);
+
+
extern void
_mesa_test_formats(void);