mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
use DEFAULT_SOFTWARE_DEPTH_BITS
This commit is contained in:
parent
440d620308
commit
b14be61938
1 changed files with 9 additions and 7 deletions
|
|
@ -55,7 +55,7 @@
|
|||
#include <windows.h>
|
||||
|
||||
#endif
|
||||
|
||||
#include "config.h"
|
||||
#include "glapi.h"
|
||||
#include "GL/wmesa.h" /* protos for wmesa* functions */
|
||||
|
||||
|
|
@ -70,10 +70,12 @@ struct __pixelformat__
|
|||
GLboolean doubleBuffered;
|
||||
};
|
||||
|
||||
|
||||
|
||||
/* These are the PFD's supported by this driver. */
|
||||
struct __pixelformat__ pfd[] =
|
||||
{
|
||||
#if 0
|
||||
#if 0
|
||||
/* Double Buffer, alpha */
|
||||
{
|
||||
{
|
||||
|
|
@ -87,7 +89,7 @@ struct __pixelformat__ pfd[] =
|
|||
8, 16,
|
||||
8, 24,
|
||||
0, 0, 0, 0, 0,
|
||||
16, 8,
|
||||
DEFAULT_SOFTWARE_DEPTH_BITS, 8,
|
||||
0, 0, 0,
|
||||
0, 0, 0
|
||||
},
|
||||
|
|
@ -106,13 +108,13 @@ struct __pixelformat__ pfd[] =
|
|||
8, 16,
|
||||
8, 24,
|
||||
0, 0, 0, 0, 0,
|
||||
16, 8,
|
||||
DEFAULT_SOFTWARE_DEPTH_BITS, 8,
|
||||
0, 0, 0,
|
||||
0, 0, 0
|
||||
},
|
||||
GL_FALSE
|
||||
},
|
||||
#endif
|
||||
#endif
|
||||
/* Double Buffer, no alpha */
|
||||
{
|
||||
{
|
||||
|
|
@ -126,7 +128,7 @@ struct __pixelformat__ pfd[] =
|
|||
8, 16,
|
||||
0, 0,
|
||||
0, 0, 0, 0, 0,
|
||||
16, 8,
|
||||
DEFAULT_SOFTWARE_DEPTH_BITS, 8,
|
||||
0, 0, 0,
|
||||
0, 0, 0
|
||||
},
|
||||
|
|
@ -145,7 +147,7 @@ struct __pixelformat__ pfd[] =
|
|||
8, 16,
|
||||
0, 0,
|
||||
0, 0, 0, 0, 0,
|
||||
16, 8,
|
||||
DEFAULT_SOFTWARE_DEPTH_BITS, 8,
|
||||
0, 0, 0,
|
||||
0, 0, 0
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue