projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mesa: Allow extensions in MESA_EXTENSION_OVERRIDE to be prefixed with '+'
[mesa.git]
/
src
/
mesa
/
main
/
buffers.c
diff --git
a/src/mesa/main/buffers.c
b/src/mesa/main/buffers.c
index fb30b5996093542fd9903db8d95c15f381ad923a..5c37f3d1a86874d8e85d5fbd86cb0bd039cfec12 100644
(file)
--- a/
src/mesa/main/buffers.c
+++ b/
src/mesa/main/buffers.c
@@
-35,6
+35,7
@@
#include "colormac.h"
#include "context.h"
#include "enums.h"
#include "colormac.h"
#include "context.h"
#include "enums.h"
+#include "mtypes.h"
#define BAD_MASK ~0u
#define BAD_MASK ~0u
@@
-50,7
+51,7
@@
* \return bitmask of BUFFER_BIT_* flags
*/
static GLbitfield
* \return bitmask of BUFFER_BIT_* flags
*/
static GLbitfield
-supported_buffer_bitmask(const
GL
context *ctx, const struct gl_framebuffer *fb)
+supported_buffer_bitmask(const
struct gl_
context *ctx, const struct gl_framebuffer *fb)
{
GLbitfield mask = 0x0;
{
GLbitfield mask = 0x0;
@@
-355,7
+356,7
@@
_mesa_DrawBuffersARB(GLsizei n, const GLenum *buffers)
* BUFFER_BIT_FRONT_LEFT | BUFFER_BIT_BACK_LEFT).
*/
void
* BUFFER_BIT_FRONT_LEFT | BUFFER_BIT_BACK_LEFT).
*/
void
-_mesa_drawbuffers(
GL
context *ctx, GLuint n, const GLenum *buffers,
+_mesa_drawbuffers(
struct gl_
context *ctx, GLuint n, const GLenum *buffers,
const GLbitfield *destMask)
{
struct gl_framebuffer *fb = ctx->DrawBuffer;
const GLbitfield *destMask)
{
struct gl_framebuffer *fb = ctx->DrawBuffer;
@@
-452,7
+453,7
@@
_mesa_drawbuffers(GLcontext *ctx, GLuint n, const GLenum *buffers,
* \param bufferIndex the numerical index corresponding to 'buffer'
*/
void
* \param bufferIndex the numerical index corresponding to 'buffer'
*/
void
-_mesa_readbuffer(
GL
context *ctx, GLenum buffer, GLint bufferIndex)
+_mesa_readbuffer(
struct gl_
context *ctx, GLenum buffer, GLint bufferIndex)
{
struct gl_framebuffer *fb = ctx->ReadBuffer;
{
struct gl_framebuffer *fb = ctx->ReadBuffer;