src/render/metal/SDL_render_metal.m
changeset 11809 4b858abfb24d
parent 11807 6b3d9e08c586
child 11810 30acd4dcfdb6
     1.1 --- a/src/render/metal/SDL_render_metal.m	Tue Jan 02 19:06:14 2018 -0400
     1.2 +++ b/src/render/metal/SDL_render_metal.m	Tue Jan 02 21:44:28 2018 -0400
     1.3 @@ -563,9 +563,6 @@
     1.4  METAL_GetOutputSize(SDL_Renderer * renderer, int *w, int *h)
     1.5  { @autoreleasepool {
     1.6      METAL_RenderData *data = (__bridge METAL_RenderData *) renderer->driverdata;
     1.7 -    // !!! FIXME: We shouldn't need ActivateRenderer, but drawableSize is 0
     1.8 -    // in the first frame without it.
     1.9 -    METAL_ActivateRenderer(renderer);
    1.10      if (w) {
    1.11          *w = (int)data.mtllayer.drawableSize.width;
    1.12      }