mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
fix components initialization in two places (Ewald Snel)
This commit is contained in:
parent
006e183b6e
commit
e5b6eee15d
1 changed files with 2 additions and 2 deletions
|
|
@ -2051,7 +2051,7 @@ _mesa_texstore_z24_s8(STORE_PARAMS)
|
|||
GLboolean
|
||||
_mesa_texstore_rgba_float32(STORE_PARAMS)
|
||||
{
|
||||
const GLint components = _mesa_components_in_format(baseInternalFormat);
|
||||
const GLint components = _mesa_components_in_format(dstFormat->BaseFormat);
|
||||
|
||||
ASSERT(dstFormat == &_mesa_texformat_rgba_float32 ||
|
||||
dstFormat == &_mesa_texformat_rgb_float32 ||
|
||||
|
|
@ -2119,7 +2119,7 @@ _mesa_texstore_rgba_float32(STORE_PARAMS)
|
|||
GLboolean
|
||||
_mesa_texstore_rgba_float16(STORE_PARAMS)
|
||||
{
|
||||
const GLint components = _mesa_components_in_format(baseInternalFormat);
|
||||
const GLint components = _mesa_components_in_format(dstFormat->BaseFormat);
|
||||
|
||||
ASSERT(dstFormat == &_mesa_texformat_rgba_float16 ||
|
||||
dstFormat == &_mesa_texformat_rgb_float16 ||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue