手機 - Cosmo Communicator - Android - 解決XSDL SDL2無法顯示的問題



SDL_CreateRenderer()不能帶入SDL_RENDERER_ACCELERATEDSDL_RENDERER_PRESENTVSYNC參數

renderer = SDL_CreateRenderer(window, -1, 0 /*SDL_RENDERER_ACCELERATED | SDL_RENDERER_PRESENTVSYNC*/);