Jonathan Dearborn
Jonathan Dearborn
Those functions (naively) assume spaces in the text so it can wrap on word boundaries. It won't wrap otherwise. Is that what you're seeing? If it isn't wrapping text that...
SDL_gpu does use `SDL_GL_GetDrawableSize` to try to avoid the HIDPI issue, so it sounds like it's just not doing it right. If I get some time, I'll try to look...
I'm pretty sure some of the shape rendering being off-by-one is due to issues I was having reconciling OpenGL's pixel centers (0.5,0.5) for both shapes and textures that scales correctly....
@avahe-kellenberger To clarify the line math, that function would draw a quad centered on the point you give it. For example, given the points (0,0) and (20,0) with a thickness...
Can you post a program that demonstrates this for further investigation? Resizing a window shouldn't cause the context to be lost, as far as I understand, though fullscreening might. If...
This would work if the texture is inverted. Are you using GPU_SetCoordinateMode()? How are you loading your target/image?
SDL_FontCache only supports UTF-8. Conversion functions are fairly easy to find, though whether conversion is reasonable in your app is up to you.
Is it failing to compile or is it failing to run? The dll should not stop compilation. If it is failing to run, I can't suggest anything except to locate...
Yes, it is perhaps weird. The image is the owner of the memory and serves as the base for the target. In other words, the lifetime of a target is...
This might be hinting at a high DPI / retina issue. Do you have a sample program I could test with that demonstrate this effect?