rubatopy / rubato

A lightweight, developer-first game engine built for Python
https://rubato.app
GNU General Public License v3.0
23 stars 1 forks source link

FEATURE: migrate usage of SDL_Surfaces to SDL_Textures #367

Closed tsedan closed 2 years ago

tsedan commented 2 years ago

We can actually modify texture pixel buffers directly, removing the need for surfaces (and hopefully speeding up our rendering code significantly). Note to martin I want to do this one myself

Here's more info: https://gamedev.stackexchange.com/questions/157604/how-to-get-access-to-framebuffer-as-a-uint32-t-in-sdl2