summaryrefslogtreecommitdiff
path: root/lib/mesa/src/gallium/auxiliary/renderonly/renderonly.h
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-04-02 10:42:24 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-04-02 10:42:24 +0000
commita3f73acb9d2cdc62692af7ff93c51f910dff2d0d (patch)
tree303d205e8e6ed9676bdcbe006a402c23bf668f6c /lib/mesa/src/gallium/auxiliary/renderonly/renderonly.h
parentf54e142455cb3c9d1662dae7e096a32a47e5409b (diff)
Merge Mesa 23.3.6
Diffstat (limited to 'lib/mesa/src/gallium/auxiliary/renderonly/renderonly.h')
-rw-r--r--lib/mesa/src/gallium/auxiliary/renderonly/renderonly.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/mesa/src/gallium/auxiliary/renderonly/renderonly.h b/lib/mesa/src/gallium/auxiliary/renderonly/renderonly.h
index 911ad6697..de22b37c0 100644
--- a/lib/mesa/src/gallium/auxiliary/renderonly/renderonly.h
+++ b/lib/mesa/src/gallium/auxiliary/renderonly/renderonly.h
@@ -97,18 +97,18 @@ void
renderonly_scanout_destroy(struct renderonly_scanout *scanout,
struct renderonly *ro);
-static inline boolean
+static inline bool
renderonly_get_handle(struct renderonly_scanout *scanout,
struct winsys_handle *handle)
{
if (!scanout)
- return FALSE;
+ return false;
assert(handle->type == WINSYS_HANDLE_TYPE_KMS);
handle->handle = scanout->handle;
handle->stride = scanout->stride;
- return TRUE;
+ return true;
}
/**