mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 01:34:11 +00:00
kdrive/fbdev: Use bool instead of Bool
Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
This commit is contained in:
committed by
Enrico Weigelt
parent
c4037d0518
commit
34d16e48d4
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user