diff options
author | Eric Anholt <[email protected]> | 2008-12-31 00:29:49 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2008-12-31 00:35:17 -0800 |
commit | bfebeffc0045266d354a36968336337e099a9f27 (patch) | |
tree | 7a74bd532f4c64c15a1cc79d309a248917b82c4f /src/mesa/drivers/dri/intel/intel_context.h | |
parent | e1a92175542c6645c23cc78f2a4fcd36dd0235e6 (diff) |
intel: Share passthrough transform setup between glBitmap and glDrawPixels.
The DrawPixels path was missing glViewport care, so blender's toolbar icons
would go to the wrong places.
Bug #19118.
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_context.h')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_context.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_context.h b/src/mesa/drivers/dri/intel/intel_context.h index 4100677750c..048286c196b 100644 --- a/src/mesa/drivers/dri/intel/intel_context.h +++ b/src/mesa/drivers/dri/intel/intel_context.h @@ -165,6 +165,9 @@ struct intel_context GLboolean saved_fp_enable; struct gl_vertex_program *saved_vp; GLboolean saved_vp_enable; + + GLint saved_vp_x, saved_vp_y; + GLsizei saved_vp_width, saved_vp_height; } meta; GLint refcount; |