You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-- code --
SDL_Surface* pokemonImage = IMG_Load(imagePath.c_str());
SDL_Rect pokemonRect;
pokemonRect.x = 0; // Adjust the x position according to your needs
pokemonRect.y = 0; // Adjust the y position according to your needs
pokemonRect.w = 128; // Adjust the width to fill the space to the left of the list
pokemonRect.h = 128; // Adjust the height to fill the window height
SDL_BlitScaled(pokemonImage, NULL, screen, &pokemonRect);
The text was updated successfully, but these errors were encountered:
-- code --
SDL_Surface* pokemonImage = IMG_Load(imagePath.c_str());
SDL_Rect pokemonRect;
pokemonRect.x = 0; // Adjust the x position according to your needs
pokemonRect.y = 0; // Adjust the y position according to your needs
pokemonRect.w = 128; // Adjust the width to fill the space to the left of the list
pokemonRect.h = 128; // Adjust the height to fill the window height
SDL_BlitScaled(pokemonImage, NULL, screen, &pokemonRect);
The text was updated successfully, but these errors were encountered: