Major check-in of changes for GL_EXT_framebuffer_object extension.
Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
This commit is contained in:
@@ -61,6 +61,7 @@
|
||||
#if FEATURE_EXT_framebuffer_object
|
||||
#include "fbobject.h"
|
||||
#endif
|
||||
#include "framebuffer.h"
|
||||
#include "hint.h"
|
||||
#include "histogram.h"
|
||||
#include "imports.h"
|
||||
@@ -974,6 +975,9 @@ _mesa_update_state( GLcontext *ctx )
|
||||
if (new_state & (_NEW_PROGRAM|_NEW_TEXTURE|_NEW_TEXTURE_MATRIX))
|
||||
_mesa_update_texture( ctx, new_state );
|
||||
|
||||
if (new_state & (_NEW_BUFFERS | _NEW_COLOR | _NEW_PIXEL))
|
||||
_mesa_update_framebuffer(ctx);
|
||||
|
||||
if (new_state & (_NEW_SCISSOR|_NEW_BUFFERS))
|
||||
_mesa_update_draw_buffer_bounds( ctx );
|
||||
|
||||
|
Reference in New Issue
Block a user