mesa: Remove dead code.

This commit is contained in:
José Fonseca 2009-06-11 18:50:36 +01:00
parent bb0b954f12
commit 862c7b8cd3

View file

@ -769,7 +769,6 @@ st_DrawPixels(GLcontext *ctx, GLint x, GLint y, GLsizei width, GLsizei height,
struct st_vertex_program *stvp;
struct st_context *st = ctx->st;
struct pipe_surface *ps;
GLuint bufferFormat;
const GLfloat *color;
if (format == GL_STENCIL_INDEX ||
@ -797,8 +796,6 @@ st_DrawPixels(GLcontext *ctx, GLint x, GLint y, GLsizei width, GLsizei height,
color = NULL;
}
bufferFormat = ps->format;
/* draw with textured quad */
{
struct pipe_texture *pt