mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-06 16:30:42 +01:00
i965: Fix regression in 29a911c50e.
The previous define was the full 32-bit header, while the new define was just the top 16 bits.
This commit is contained in:
parent
b38c26f19f
commit
fb5ff51f42
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ static void upload_drawing_rect(struct brw_context *brw)
|
|||
struct gl_context *ctx = &intel->ctx;
|
||||
|
||||
BEGIN_BATCH(4);
|
||||
OUT_BATCH(_3DSTATE_DRAWING_RECTANGLE);
|
||||
OUT_BATCH(_3DSTATE_DRAWING_RECTANGLE << 16 | (4 - 2));
|
||||
OUT_BATCH(0); /* xmin, ymin */
|
||||
OUT_BATCH(((ctx->DrawBuffer->Width - 1) & 0xffff) |
|
||||
((ctx->DrawBuffer->Height - 1) << 16));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue