diff --git a/src/mesa/main/pack_tmp.h b/src/mesa/main/pack_tmp.h index 0d4eb387d80..c6882db14fa 100644 --- a/src/mesa/main/pack_tmp.h +++ b/src/mesa/main/pack_tmp.h @@ -31,6 +31,79 @@ FN_NAME(struct gl_context *ctx, int i; switch (dstFormat) { +#ifdef FLOAT_SRC_CONVERT + case GL_RED: + for (i=0;i