float drawing in SDL
Hi!
How can i draw in SDL with float parameters?
When i try it, compiler automatic convert it to Sint16
thank you
SDL, unlike OpenGL or DirectX, draws directly to the pixel raster. In other words, each point MUST be an integer coordinate. You need to round your floats off to the nearest integer.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement