mesa/src
Paul Berry 03cc310313 intel: make intel_flush_front safe to call during initial MakeCurrent
The patch that follows will fix a bug that prevents
intel_flush_front() from being called often enough.  In doing so, it
will create a situation where intel_flush_front() is called during the
initial call to glXMakeCurrent().  In this circumstance,
ctx->DrawBuffer hasn't been initialized yet and is NULL.  Fortunately,
intel->front_buffer_dirty is false, so intel_flush_front() doesn't
actually need to do anything.  To avoid a segfault, swap the order of
terms in intel_flush_front()'s if statement.

Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
2013-06-07 13:26:36 -07:00
..
egl mesa: remove outdated version lines in comments 2013-06-05 08:54:27 -06:00
gallium util: add comment about bogus transfer flags 2013-06-07 21:15:01 +02:00
gbm gbm: Remember to init format on gbm_dri_bo_create. 2013-02-07 20:00:52 -05:00
getopt
glsl glsl linker: Initialize member variable interface_namespace. 2013-06-06 22:55:24 -07:00
glx mesa: remove outdated version lines in comments 2013-06-05 08:54:27 -06:00
gtest gtest: Build it only for 'make check'. 2013-01-13 12:38:44 +01:00
mapi mesa: remove outdated version lines in comments 2013-06-05 08:54:27 -06:00
mesa intel: make intel_flush_front safe to call during initial MakeCurrent 2013-06-07 13:26:36 -07:00
Makefile.am build: Remove GALLIUM_DIRS 2013-04-15 12:04:26 -07:00
SConscript Remove libGLU 2012-08-31 10:58:15 -07:00