mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-29 04:10:53 +02:00
mesa: update new state for RasterPos like other operations.
This fixes a lighting issue when drawing a bitmap.
This commit is contained in:
parent
be1b8e5d6c
commit
064b04d464
1 changed files with 3 additions and 3 deletions
|
|
@ -50,12 +50,12 @@ rasterpos(GLfloat x, GLfloat y, GLfloat z, GLfloat w)
|
|||
p[2] = z;
|
||||
p[3] = w;
|
||||
|
||||
if (ctx->NewState)
|
||||
_mesa_update_state( ctx );
|
||||
|
||||
ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH(ctx);
|
||||
FLUSH_CURRENT(ctx, 0);
|
||||
|
||||
if (ctx->NewState)
|
||||
_mesa_update_state( ctx );
|
||||
|
||||
ctx->Driver.RasterPos(ctx, p);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue