mesa: add new signed rgba texture format

This is a (partial) backport of the signed texture format support in OGL 3.1.
Since it wasn't promoted from an existing extension roll our own.
This commit is contained in:
Roland Scheidegger
2009-03-27 19:39:52 +01:00
parent a9bf5b5cca
commit c6a6cc1918
20 changed files with 557 additions and 45 deletions

View File

@@ -486,7 +486,7 @@ st_readpixels(GLcontext *ctx, GLint x, GLint y, GLsizei width, GLsizei height,
df += dfStride;
if (!dfStride) {
_mesa_pack_rgba_span_float(ctx, width, temp, format, type, dst,
&clippedPacking, transferOps);
&clippedPacking, transferOps, GL_FALSE);
dst += dstStride;
}
}