Rendering Glitch on Mac OSX El Capitan with OpenGL

后端 未结 4 1360
滥情空心
滥情空心 2021-01-14 06:24

I created a tennis game for OSX using SDL 1.2 + OpenGL 1.1 .

Everything was ok till El Capitan. Now, a few textures aren\'t displayed correctly.

The court wh

4条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-14 07:09

    saltycraig's answer worked for me, but I had to figure a few things out on my own that I thought I would include here so people don't have to struggle to figure it out.

    First, when you're in step 3 and changing your new sdl_image.rb to match the backup, make sure to keep the url from the new one, containing this address: "https://www.libsdl.org/projects/SDL_image/release/SDL_image-1.2.10.tar.gz". That may seem obvious, but I didn't figure it out until my 2nd or 3rd time looking it over.

    Second, even after unlinking sdl_image and installing 1.2.10, you may need to delete 1.2.12. For me it was in usr/local/Cellar/sdl_image because I brewed python to get around El Capitan's new SIP preventing me from installing pygame.

提交回复
热议问题