Documentation ¶ Overview ¶ A simple package meant to load sdl surfaces without sdl_image. This enables removing the sdl_image dependancy Index ¶ func Load(path string) (*sdl.Surface, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Load ¶ func Load(path string) (*sdl.Surface, error) Load creates a *sdl.Surface from an image file. Make sure to call surface.Free() on any surface you load. This method will call an error if the file does not exist or cannot decode it (not an image) Types ¶ This section is empty. Source Files ¶ View all Source files surface.go Click to show internal directories. Click to hide internal directories.