mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-29 08:00:15 +01:00
Add a setVisualConfigs that is called before the fbScreenInit, to setup the __GLXvisualConfigs.
(cherry picked from commit fc86f9e448)
15 lines
249 B
C
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
|