gopxl / pixel

A hand-crafted 2D game library in Go.
MIT License
242 stars 10 forks source link

SubTask - Split shared parts of Window from opengl backend #70

Open bhperry opened 1 year ago

bhperry commented 1 year ago

Pixel should have a core window struct that manages retrieving information from the configured backend. There is probably a lot to disentangle from the opengl package to get this done (e.g., the Canvas struct, which is currently VERY tied to OpenGL).

This may need to be split out into smaller tasks to be manageable.