Sourcehold icon indicating copy to clipboard operation
Sourcehold copied to clipboard

refactor: Texture

Open skrax opened this issue 4 years ago • 0 comments

  • use as a prototype for SDL_Texture
  • differ between Static/Streaming/Target texture types
  • only allow read/write access on streaming textures
  • remove alloc/destroy functions -> constructors/destructors
  • remove unused functions/members
  • add RAII texture locking

#90

skrax avatar Apr 24 '21 05:04 skrax