mesa: Fix GL_LUMINANCE handling for textures in glGetTexImage
[mesa.git] / src / mesa / swrast / s_depth.h
index e5dae7ef8650101c1db00ef5b51f7b2306a74945..25a7a0bbf83cdc5cf0941b080a15d201cf32d497 100644 (file)
 #define S_DEPTH_H
 
 
-#include "main/mtypes.h"
+#include "main/glheader.h"
 #include "s_span.h"
 
+struct gl_context;
+struct gl_renderbuffer;
+
 
 extern GLuint
 _swrast_depth_test_span( struct gl_context *ctx, SWspan *span);
@@ -45,14 +48,11 @@ extern void
 _swrast_read_depth_span_float( struct gl_context *ctx, struct gl_renderbuffer *rb,
                                GLint n, GLint x, GLint y, GLfloat depth[] );
 
-
 extern void
-_swrast_read_depth_span_uint( struct gl_context *ctx, struct gl_renderbuffer *rb,
-                              GLint n, GLint x, GLint y, GLuint depth[] );
-
+_swrast_clear_depth_buffer(struct gl_context *ctx);
 
 extern void
-_swrast_clear_depth_buffer( struct gl_context *ctx, struct gl_renderbuffer *rb );
+_swrast_clear_depth_stencil_buffer(struct gl_context *ctx);
 
 
 #endif