mirror of
https://github.com/X11Libre/xserver.git
synced 2026-11-01 03:03:58 +00:00
kdrive/fbdev: Use bool instead of Bool
Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
This commit is contained in:
parent
c4037d0518
commit
34d16e48d4
2 changed files with 11 additions and 11 deletions
|
|
@ -22,11 +22,11 @@
|
|||
|
||||
char *fbdev_glvnd_provider = NULL;
|
||||
|
||||
Bool es_allowed = TRUE;
|
||||
Bool force_es = FALSE;
|
||||
Bool fbGlamorAllowed = TRUE;
|
||||
Bool fbForceGlamor = FALSE;
|
||||
Bool fbXVAllowed = TRUE;
|
||||
bool es_allowed = TRUE;
|
||||
bool force_es = FALSE;
|
||||
bool fbGlamorAllowed = TRUE;
|
||||
bool fbForceGlamor = FALSE;
|
||||
bool fbXVAllowed = TRUE;
|
||||
|
||||
#define ARR_SIZE(x) (sizeof(x) / sizeof(*(x)))
|
||||
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
|
||||
#ifndef _KDRIVE_FBDEV_H_
|
||||
#define _KDRIVE_FBDEV_H_
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
#include <linux/fb.h>
|
||||
#include <unistd.h>
|
||||
|
|
@ -51,7 +52,6 @@ typedef struct _fbdevScrPriv {
|
|||
Rotation randr;
|
||||
Bool shadow;
|
||||
#ifdef GLAMOR
|
||||
Bool glamor_initialized;
|
||||
EGLDisplay display;
|
||||
EGLContext ctx;
|
||||
void* glamor_make_current;
|
||||
|
|
@ -64,12 +64,12 @@ extern Bool fbDisableShadow;
|
|||
|
||||
#ifdef GLAMOR
|
||||
extern char *fbdev_glvnd_provider;
|
||||
extern Bool es_allowed;
|
||||
extern Bool force_es;
|
||||
extern Bool fbGlamorAllowed;
|
||||
extern Bool fbForceGlamor;
|
||||
extern bool es_allowed;
|
||||
extern bool force_es;
|
||||
extern bool fbGlamorAllowed;
|
||||
extern bool fbForceGlamor;
|
||||
#ifdef XV
|
||||
extern Bool fbXVAllowed;
|
||||
extern bool fbXVAllowed;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue