New answers tagged

0

'glue' is sticky stuff. glu is a deprecated utility library for the old OpenGL fixed function pipeline (am ready for correction if it has been updated since back in the day). OpenGL and DirectX (and Vulkan, Metal, ....) are graphics APIs. They offer a programming interface to the render pipeline of graphics cards. DirectX has a bit more than graphics, but is ...


0

In the end, what I ended up doing is indeed what I suggested in the question: Use SDL_GetRendererInfo to retrieve the BPP of the renderer and pass it to SDL_CreateRGBSurface to have a surface with compatible BPP Create a new intermediary 16bpp surface for the scaling algorithm that need it and blit it to the surface created with the compatible BPP before ...


Top 50 recent answers are included