summaryrefslogtreecommitdiff
path: root/lib/mesa/src/gallium/drivers/nouveau/nouveau_screen.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2022-09-02 05:47:02 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2022-09-02 05:47:02 +0000
commit0dbbf1e0708df85a357d70e2708c0a11aeb5480e (patch)
tree6656ff8eb8b15a2fc1c02888973caf618388cfd0 /lib/mesa/src/gallium/drivers/nouveau/nouveau_screen.c
parent5f66494d31f735486b8222ecfa0a0c9046e92543 (diff)
Merge Mesa 22.1.7
Diffstat (limited to 'lib/mesa/src/gallium/drivers/nouveau/nouveau_screen.c')
-rw-r--r--lib/mesa/src/gallium/drivers/nouveau/nouveau_screen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mesa/src/gallium/drivers/nouveau/nouveau_screen.c b/lib/mesa/src/gallium/drivers/nouveau/nouveau_screen.c
index 192044c7f..6c9781063 100644
--- a/lib/mesa/src/gallium/drivers/nouveau/nouveau_screen.c
+++ b/lib/mesa/src/gallium/drivers/nouveau/nouveau_screen.c
@@ -99,7 +99,7 @@ nouveau_screen_bo_from_handle(struct pipe_screen *pscreen,
unsigned *out_stride)
{
struct nouveau_device *dev = nouveau_screen(pscreen)->device;
- struct nouveau_bo *bo = 0;
+ struct nouveau_bo *bo = NULL;
int ret;
if (whandle->offset != 0) {
@@ -383,7 +383,7 @@ nouveau_screen_fini(struct nouveau_screen *screen)
static void
nouveau_set_debug_callback(struct pipe_context *pipe,
- const struct pipe_debug_callback *cb)
+ const struct util_debug_callback *cb)
{
struct nouveau_context *context = nouveau_context(pipe);