xserver/hw/xquartz/GL/capabilities.h
George Staplin a8f5d422c9 XQuartz: GL: Provide code for getting the capabilities of the underlying system's CGL.
Add a setVisualConfigs that is called before the fbScreenInit, to setup the __GLXvisualConfigs.
(cherry picked from commit fc86f9e448)
2008-10-08 18:44:21 -07:00

15 lines
249 B
C

#ifndef CAPABILITIES_H
#define CAPABILITIES_H
#include <stdbool.h>
struct glCapabilities {
int stereo;
int aux_buffers;
int buffers;
/*TODO handle STENCIL and ACCUM*/
};
bool getGlCapabilities(struct glCapabilities *cap);
#endif