migrant a SDL3
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include "on_screen_help.h"
|
||||
#include <SDL2/SDL_blendmode.h> // Para SDL_BLENDMODE_BLEND
|
||||
#include <SDL2/SDL_pixels.h> // Para SDL_PIXELFORMAT_RGBA8888
|
||||
#include <SDL3/SDL_blendmode.h> // Para SDL_BLENDMODE_BLEND
|
||||
#include <SDL3/SDL_pixels.h> // Para SDL_PIXELFORMAT_RGBA8888
|
||||
#include <memory> // Para make_unique, unique_ptr
|
||||
#include "lang.h" // Para getText
|
||||
#include "param.h" // Para Param, ParamGame, param
|
||||
@@ -82,7 +82,7 @@ void OnScreenHelp::render()
|
||||
{
|
||||
if (state != OnScreenHelpStatus::hidden)
|
||||
{
|
||||
SDL_RenderCopy(Screen::get()->getRenderer(), texture, nullptr, &dest);
|
||||
SDL_RenderTexture(Screen::get()->getRenderer(), texture, nullptr, &dest);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user