diff options
author | Ilia Mirkin <[email protected]> | 2019-07-04 14:41:00 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2019-07-22 22:13:51 -0400 |
commit | affb2da0f862e0a604a9a075f2b45d57038797d5 (patch) | |
tree | c4c731eefe87d800f79ab05e3907daa90aab1fd6 /src/gallium/state_trackers/osmesa | |
parent | 0e30c6b8a7e84211bb417362ec73f24ef134ae34 (diff) |
gallium: remove boolean from state tracker APIs
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/osmesa')
-rw-r--r-- | src/gallium/state_trackers/osmesa/osmesa.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/state_trackers/osmesa/osmesa.c b/src/gallium/state_trackers/osmesa/osmesa.c index e70c391a905..41ff9216fc6 100644 --- a/src/gallium/state_trackers/osmesa/osmesa.c +++ b/src/gallium/state_trackers/osmesa/osmesa.c @@ -304,7 +304,7 @@ stfbi_to_osbuffer(struct st_framebuffer_iface *stfbi) * Called via glFlush/glFinish. This is where we copy the contents * of the driver's color buffer into the user-specified buffer. */ -static boolean +static bool osmesa_st_framebuffer_flush_front(struct st_context_iface *stctx, struct st_framebuffer_iface *stfbi, enum st_attachment_type statt) @@ -373,7 +373,7 @@ osmesa_st_framebuffer_flush_front(struct st_context_iface *stctx, pipe->transfer_unmap(pipe, transfer); - return TRUE; + return true; } @@ -381,7 +381,7 @@ osmesa_st_framebuffer_flush_front(struct st_context_iface *stctx, * Called by the st manager to validate the framebuffer (allocate * its resources). */ -static boolean +static bool osmesa_st_framebuffer_validate(struct st_context_iface *stctx, struct st_framebuffer_iface *stfbi, const enum st_attachment_type *statts, @@ -438,7 +438,7 @@ osmesa_st_framebuffer_validate(struct st_context_iface *stctx, screen->resource_create(screen, &templat); } - return TRUE; + return true; } static uint32_t osmesa_fb_ID = 0; |