OSDN Git Service

ARB_texture_rg: Correct some errors in RED / RG internal format handling
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 28 Sep 2010 18:11:43 +0000 (11:11 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 1 Oct 2010 22:49:12 +0000 (15:49 -0700)
commit3ebbc176f9200ac954d461758937e755220ac551
treeb18a925edc9b2f9034e40a2dd869f344e5fb9bd3
parentbb45ab0a96bd17bc4c575ef5460d5c65acd8768b
ARB_texture_rg: Correct some errors in RED / RG internal format handling

Fixes several problems:

The half-float, float, and integer internal formats depend on
ARB_texture_rg and other extensions.

RG_INTEGER is not a valid internal format.

Generic compressed formats depend on ARB_texture_rg, not
EXT_texture_compression_rgtc.

Use GL_RED instead of GL_R.
src/mesa/main/teximage.c