kopia lustrzana https://github.com/FreeSpacenav/libspnav
include inttypes.h in Solaris instead of stdint.h and let the cube
example request lest extravagant OpenGL context attributes.pull/26/head
rodzic
d98eb8c927
commit
f73f821b82
|
@ -94,10 +94,10 @@ int create_gfx(int xsz, int ysz)
|
|||
|
||||
int attr[] = {
|
||||
GLX_RGBA, GLX_DOUBLEBUFFER,
|
||||
GLX_RED_SIZE, 8,
|
||||
GLX_GREEN_SIZE, 8,
|
||||
GLX_BLUE_SIZE, 8,
|
||||
GLX_DEPTH_SIZE, 24,
|
||||
GLX_RED_SIZE, 1,
|
||||
GLX_GREEN_SIZE, 1,
|
||||
GLX_BLUE_SIZE, 1,
|
||||
GLX_DEPTH_SIZE, 16,
|
||||
None
|
||||
};
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef PROTO_H_
|
||||
#define PROTO_H_
|
||||
|
||||
#ifdef __sgi
|
||||
#if defined(__sgi) || defined(__sun)
|
||||
#include <inttypes.h>
|
||||
#else
|
||||
#include <stdint.h>
|
||||
|
|
Ładowanie…
Reference in New Issue