summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/brw_context.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2008-02-26 17:57:41 -0500
committerKristian Høgsberg <krh@redhat.com>2008-02-26 18:01:13 -0500
commit20b8bff49cba3e8246e29004c5ff38f231d589ff (patch)
tree5a09f5f8d4e4fbae726eabd97b03ea4ebd695451 /src/mesa/drivers/dri/i965/brw_context.c
parent451bd1941e9791882f7931c8613643f152871e79 (diff)
i965: Setup framebuffer texture in meta_draw_region.
With DRI2 we there is no screen region until a drawable is bound to the context. Set up the framebuffer texture in meta_draw_region instead which should also handle the case where the draw region changes as a result of resizing a redirected window or resizing the screen.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_context.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c
index de0b74a8cb..2d32f1d614 100644
--- a/src/mesa/drivers/dri/i965/brw_context.c
+++ b/src/mesa/drivers/dri/i965/brw_context.c
@@ -194,8 +194,6 @@ GLboolean brwCreateContext( const __GLcontextModes *mesaVis,
brw_ProgramCacheInit( ctx );
- brw_FrameBufferTexInit( brw );
-
return GL_TRUE;
}