diff options
author | Brian <brian@yutani.localnet.net> | 2007-02-26 11:37:37 -0700 |
---|---|---|
committer | Brian <brian@yutani.localnet.net> | 2007-02-26 11:37:37 -0700 |
commit | e6a9381f78605072cab52447fce35eaa98c1e75c (patch) | |
tree | 4f4bd45e59f550e120e31c8924e9c156233cec07 /src/mesa/main/mtypes.h | |
parent | 344c3f7379ab4db749e7e8513be9be8fbb9f126c (diff) |
Do proper framebuffer refcounting in _mesa_make_current().
Also, added DeletePending field to gl_framebuffer used when a window has been
deleted, but there still may be rendering contexts attached to the
gl_framebuffer object.
Diffstat (limited to 'src/mesa/main/mtypes.h')
-rw-r--r-- | src/mesa/main/mtypes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index e8f0f45d39..422d176c25 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -2243,6 +2243,7 @@ struct gl_framebuffer _glthread_Mutex Mutex; /**< for thread safety */ GLuint Name; /* if zero, this is a window system framebuffer */ GLint RefCount; + GLboolean DeletePending; GLvisual Visual; /**< The framebuffer's visual. Immutable if this is a window system buffer. |