projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
630ab0d
)
st/glx: remove STENCIL_BITS, DEFAULT_SOFTWARE_DEPTH_BITS
author
Brian Paul
<brianp@vmware.com>
Mon, 20 Feb 2012 20:00:17 +0000
(13:00 -0700)
committer
Brian Paul
<brianp@vmware.com>
Fri, 24 Feb 2012 15:03:13 +0000
(08:03 -0700)
Remove some Mesa/swrast stuff.
src/gallium/state_trackers/glx/xlib/glx_api.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/glx/xlib/glx_api.c
b/src/gallium/state_trackers/glx/xlib/glx_api.c
index
c9cf6c9
..
9a487dc
100644
(file)
--- a/
src/gallium/state_trackers/glx/xlib/glx_api.c
+++ b/
src/gallium/state_trackers/glx/xlib/glx_api.c
@@
-277,7
+277,7
@@
default_depth_bits(void)
if (zEnv)
zBits = atoi(zEnv);
else
- zBits =
DEFAULT_SOFTWARE_DEPTH_BITS
;
+ zBits =
24
;
return zBits;
}
@@
-326,7
+326,7
@@
create_glx_visual( Display *dpy, XVisualInfo *visinfo )
GL_TRUE, /* double */
GL_FALSE, /* stereo */
zBits,
- STENCIL_BITS,
+ 8, /* stencil bits */
accBits, /* r */
accBits, /* g */
accBits, /* b */
@@
-977,7
+977,7
@@
choose_visual( Display *dpy, int screen, const int *list, GLboolean fbConfig )
/* we only support one size of stencil and accum buffers. */
if (stencil_size > 0)
- stencil_size =
STENCIL_BITS
;
+ stencil_size =
8
;
if (accumRedSize > 0 ||
accumGreenSize > 0 ||