mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
i965: Don't cast the result of brw_prepare_vertices to an unsigned value.
Negative value means other errors, not aperture overflow. fix bug #15752
This commit is contained in:
parent
a7016949f2
commit
2fa2dd3908
1 changed files with 3 additions and 1 deletions
|
|
@ -257,10 +257,12 @@ static GLboolean brw_try_draw_prims( GLcontext *ctx,
|
|||
struct intel_context *intel = intel_context(ctx);
|
||||
struct brw_context *brw = brw_context(ctx);
|
||||
GLboolean retval = GL_FALSE;
|
||||
GLuint i, ret;
|
||||
GLuint i;
|
||||
GLuint ib_offset;
|
||||
dri_bo *ib_bo;
|
||||
GLboolean force_flush = GL_FALSE;
|
||||
int ret;
|
||||
|
||||
if (ctx->NewState)
|
||||
_mesa_update_state( ctx );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue