mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 18:40:13 +01:00
965: fix/hack check for NULL texunit in state upload
This commit is contained in:
parent
b52e4477f8
commit
95adfb9fec
1 changed files with 3 additions and 0 deletions
|
|
@ -237,6 +237,9 @@ static void upload_wm_surfaces(struct brw_context *brw )
|
|||
|
||||
for (i = 0; i < BRW_MAX_TEX_UNIT; i++) {
|
||||
const struct brw_texture *texUnit = brw->attribs.Texture[i];
|
||||
if (texUnit == NULL)
|
||||
continue;
|
||||
|
||||
|
||||
/* BRW_NEW_TEXTURE
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue