kdrive/fbdev: Use bool instead of Bool

Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
This commit is contained in:
stefan11111
2026-02-02 15:43:07 +02:00
committed by Enrico Weigelt
parent c4037d0518
commit 34d16e48d4
2 changed files with 11 additions and 11 deletions

View File

@@ -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)))

View File

@@ -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