Afaik this function could be of help: https://wiki.libsdl.org/SDL_SetRenderTarget. Do you really need to rely on SDL2? SFML has built-in support for OpenGL ...
確定! 回上一頁