Commit df842e73 authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜

Cleanup warnings only affecting mesa build

parent 044413b1
......@@ -16,7 +16,7 @@
#include "texture-swizzle.h"
#ifdef HAVE_DRI3
#define UNUSED
#include "util/macros.h"
#include "util/u_format.h"
#include "util/u_inlines.h"
#include "util/u_surface.h"
......@@ -1696,7 +1696,7 @@ panfrost_set_framebuffer_state(struct pipe_context *pctx,
if (surf) {
uint8_t *map = winsys->displaytarget_map(winsys, ((struct panfrost_resource *) surf->texture)->dt, PIPE_TRANSFER_WRITE);
trans_setup_framebuffer(ctx, map, fb->width, fb->height);
trans_setup_framebuffer(ctx, (uint32_t *) map, fb->width, fb->height);
} else {
printf("...unbind surface?\n");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment