虽然加载“图像”没有问题,但我的绘图功能不会绘制任何内容。可能是什么原因造成的?
void Draw_InGameMenu()
{
Rect6.w = 100;
Rect6.h = 100;
Rect6.x = 100;
Rect6.h = 100;
MenuCaption.x = Rect6.x;
MenuCaption.y = Rect6.y;
SDL_RenderCopy(renderer, Image, NULL, &Rect6);
SDL_RenderCopy(renderer, MenuCaptionTexture, NULL, &MenuCaption);
}