diff options
author | Marek Olšák <[email protected]> | 2011-04-26 01:53:20 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2011-04-29 11:31:55 +0200 |
commit | 1d5f16ff8fae936f2e920800b169cf7736a8052a (patch) | |
tree | e9c90f1010903d91f5e8cee55ccb442366e4551e /src/glx/pixel.c | |
parent | 608a4a17feea9fba2812d4e5c01dd6dbadc5d6e0 (diff) |
mesa: set reasonable defaults in update_wrapper
I was wondering why I had been getting GL_RGBA for GL_RGB9_E5.
Instead of setting GL_RGBA and CHAN_TYPE for most types,
use the helper functions to obtain the info.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/glx/pixel.c')
0 files changed, 0 insertions, 0 deletions