summaryrefslogtreecommitdiff
path: root/src/r128_span.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/r128_span.c')
-rw-r--r--src/r128_span.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/r128_span.c b/src/r128_span.c
index 85798c1..9b73886 100644
--- a/src/r128_span.c
+++ b/src/r128_span.c
@@ -131,6 +131,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
/* 16-bit depth buffer functions
*/
+#define VALUE_TYPE GLushort
#define WRITE_DEPTH_SPAN() \
do { \
@@ -207,6 +208,8 @@ do { \
/* 24-bit depth, 8-bit stencil buffer functions
*/
+#define VALUE_TYPE GLuint
+
#define WRITE_DEPTH_SPAN() \
do { \
GLuint buf[n]; \