projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ca24ea
)
mesa: init MaxSamples = 0 (no multisampling)
author
Brian Paul
<brianp@vmware.com>
Tue, 20 Jan 2009 22:29:08 +0000
(15:29 -0700)
committer
Brian Paul
<brianp@vmware.com>
Thu, 22 Jan 2009 22:19:22 +0000
(15:19 -0700)
src/mesa/main/context.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/context.c
b/src/mesa/main/context.c
index 98c23bbd3a5a62d82eb28931ef3424546ccbea27..7d616b2325e99b228a38185f4c6f9f39ca1597e2 100644
(file)
--- a/
src/mesa/main/context.c
+++ b/
src/mesa/main/context.c
@@
-932,6
+932,9
@@
_mesa_init_constants(GLcontext *ctx)
ctx->Const.MaxVarying = MAX_VARYING;
#endif
+ /* GL_ARB_framebuffer_object */
+ ctx->Const.MaxSamples = 0;
+
/* sanity checks */
ASSERT(ctx->Const.MaxTextureUnits == MIN2(ctx->Const.MaxTextureImageUnits,
ctx->Const.MaxTextureCoordUnits));