Skip to content

Commit

Permalink
drivers/glrend/sbuffer: add missing cast to shutup warning
Browse files Browse the repository at this point in the history
  • Loading branch information
vs49688 committed Oct 10, 2024
1 parent a33eb26 commit 69f9a42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/glrend/sbuffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ static br_error BR_CMETHOD_DECL(br_buffer_stored_gl, update)(struct br_buffer_st
if(pm_device == NULL) {
return updateMemory(self, (br_pixelmap *)pm);
} else if(pm_device == self->device) {
ASSERT(self->source == NULL || self->source == pm);
ASSERT(self->source == NULL || self->source == (br_pixelmap *)pm);
self->gl_tex = 0; /* Unused for us. */
self->source = (br_pixelmap *)pm;
self->source_flags = pm->pm_flags;
Expand Down

0 comments on commit 69f9a42

Please sign in to comment.