{ "menu.paragraph_spacing.INFO[MUSIC]", "-3" },
{ "menu.paragraph_spacing.INFO[CREDITS]", "-3" },
{ "menu.paragraph_spacing.INFO[PROGRAM]", "-3" },
- { "menu.paragraph_spacing.INFO[VERSION]", "-3" },
+ { "menu.paragraph_spacing.INFO[VERSION]", "-2" },
{ "menu.paragraph_spacing.INFO[LEVELSET]", "-3" },
{ "menu.paragraph_spacing.SETUP[INPUT]", "-1" },
SDL_SetSurfaceAlphaMod(surface, alpha);
}
+const char *SDLGetRendererName(void)
+{
+ static SDL_RendererInfo renderer_info;
+
+ SDL_GetRendererInfo(sdl_renderer, &renderer_info);
+
+ return renderer_info.name;
+}
+
SDL_Surface *SDLGetNativeSurface(SDL_Surface *surface)
{
SDL_PixelFormat format;
// SDL function definitions
+const char *SDLGetRendererName(void);
boolean SDLSetNativeSurface(SDL_Surface **);
SDL_Surface *SDLGetNativeSurface(SDL_Surface *);
void SDLCreateBitmapTextures(Bitmap *);
DrawTextF(xstart3, ystart, font_head, "Used");
ystart += ystep_head;
+ driver_name =
+ getStringCopyNStatic(SDLGetRendererName(), driver_name_len);
+
+ DrawTextF(xstart1, ystart, font_text, "Render Driver");
+ DrawTextF(xstart2, ystart, font_text, "%s", ARG_DEFAULT);
+ DrawTextF(xstart3, ystart, font_text, "%s", driver_name);
+ ystart += ystep_line;
+
driver_name =
getStringCopyNStatic(SDL_GetCurrentVideoDriver(), driver_name_len);