Skip to content

Commit

Permalink
Fix build error in SDL_render_metal.m (bug #4916.)
Browse files Browse the repository at this point in the history
Patch provided by Konrad. Error was introduced by commit 522164980828 for bug #4914.
  • Loading branch information
sezero committed Dec 23, 2019
1 parent 6d639fc commit ef3ca2c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/render/metal/SDL_render_metal.m
Expand Up @@ -949,6 +949,7 @@ - (void)dealloc
static void
METAL_SetTextureScaleMode(SDL_Renderer * renderer, SDL_Texture * texture, SDL_ScaleMode scaleMode)
{ @autoreleasepool {
METAL_RenderData *data = (__bridge METAL_RenderData *) renderer->driverdata;
METAL_TextureData *texturedata = (__bridge METAL_TextureData *)texture->driverdata;

if (scaleMode == SDL_ScaleModeNearest) {
Expand Down

0 comments on commit ef3ca2c

Please sign in to comment.