projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mesa: plug in GL_ARB_draw_buffers_blend functions
[mesa.git]
/
src
/
mesa
/
main
/
condrender.c
diff --git
a/src/mesa/main/condrender.c
b/src/mesa/main/condrender.c
index c292b8a04c53dd44a8e05ecb6cdca7e38aad7db8..352e2e2b165dbf8cea6a6e42b3edf840d3d1c844 100644
(file)
--- a/
src/mesa/main/condrender.c
+++ b/
src/mesa/main/condrender.c
@@
-34,10
+34,11
@@
#include "glheader.h"
#include "condrender.h"
#include "enums.h"
#include "glheader.h"
#include "condrender.h"
#include "enums.h"
+#include "mtypes.h"
#include "queryobj.h"
#include "queryobj.h"
-
GLAPI
void GLAPIENTRY
+void GLAPIENTRY
_mesa_BeginConditionalRender(GLuint queryId, GLenum mode)
{
struct gl_query_object *q;
_mesa_BeginConditionalRender(GLuint queryId, GLenum mode)
{
struct gl_query_object *q;
@@
-84,7
+85,7
@@
_mesa_BeginConditionalRender(GLuint queryId, GLenum mode)
}
}
-
GLAPI
void APIENTRY
+void APIENTRY
_mesa_EndConditionalRender(void)
{
GET_CURRENT_CONTEXT(ctx);
_mesa_EndConditionalRender(void)
{
GET_CURRENT_CONTEXT(ctx);
@@
-117,7
+118,7
@@
_mesa_EndConditionalRender(void)
* \return GL_TRUE if we should render, GL_FALSE if we should discard
*/
GLboolean
* \return GL_TRUE if we should render, GL_FALSE if we should discard
*/
GLboolean
-_mesa_check_conditional_render(
GL
context *ctx)
+_mesa_check_conditional_render(
struct gl_
context *ctx)
{
struct gl_query_object *q = ctx->Query.CondRenderQuery;
{
struct gl_query_object *q = ctx->Query.CondRenderQuery;