diff options
author | Kalyan Kondapally <[email protected]> | 2015-01-27 09:23:00 +0200 |
---|---|---|
committer | Tapani Pälli <[email protected]> | 2015-01-29 08:21:41 +0200 |
commit | 2c2a92d5b87f669da9fa88fdd094304fcf1eb09a (patch) | |
tree | bae757403598e98d7fb7e8577c1bb6bf1e7d3484 /src/mesa/main/teximage.c | |
parent | a63c8a524b01e802cf2505099f930c0cb97df0b2 (diff) |
Mesa: Add support for HALF_FLOAT_OES type.
This patch adds needed support for accepting HALF_FLOAT_OES as valid type
for TexImage*D and TexSubImage*D when Texture FLoat extensions are supported.
Signed-off-by: Kevin Rogovin <[email protected]>
Signed-off-by: Kalyan Kondapally <[email protected]>
Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/mesa/main/teximage.c')
-rw-r--r-- | src/mesa/main/teximage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index ed08ddb4f42..03264dd0550 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -2120,7 +2120,7 @@ texture_error_check( struct gl_context *ctx, if (_mesa_is_gles(ctx)) { if (_mesa_is_gles3(ctx)) { - err = _mesa_es3_error_check_format_and_type(format, type, + err = _mesa_es3_error_check_format_and_type(ctx, format, type, internalFormat); } else { if (format != internalFormat) { |