summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2007-05-13 10:38:19 +0100
committerKeith Whitwell <keith@tungstengraphics.com>2007-05-13 10:38:23 +0100
commit222a5077570796c341add8dd828729745d418524 (patch)
tree423b074098cf9341df3cfb1a62060d7d1f8fbfc4
parentcb76baca46406610de821f97083e22a74670c761 (diff)
initialize state to swapped buffers
-rw-r--r--src/mesa/drivers/dri/i915tex/intel_frame_tracker.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i915tex/intel_frame_tracker.c b/src/mesa/drivers/dri/i915tex/intel_frame_tracker.c
index 986bf8d13f..1fb61e9dae 100644
--- a/src/mesa/drivers/dri/i915tex/intel_frame_tracker.c
+++ b/src/mesa/drivers/dri/i915tex/intel_frame_tracker.c
@@ -366,6 +366,7 @@ struct intel_frame_tracker *intel_frame_tracker_create( struct intel_context *in
{
struct intel_frame_tracker *ft = CALLOC_STRUCT( intel_frame_tracker );
ft->intel = intel;
+ ft->mode = INTEL_FT_SWAP_BUFFERS;
return ft;
}