tutorial 1 and 2
This commit is contained in:
@@ -27,8 +27,8 @@ class RendererCore2D {
|
||||
|
||||
void init(RendererSettings* settings, clutbuffer_t* clutBuffer);
|
||||
|
||||
void render(Sprite* sprite, const RendererCoreTextureBuffers& texBuffers,
|
||||
Texture* texture);
|
||||
void render(const Sprite& sprite,
|
||||
const RendererCoreTextureBuffers& texBuffers, Texture* texture);
|
||||
|
||||
private:
|
||||
void setPrim();
|
||||
|
||||
@@ -108,6 +108,8 @@ class TextureRepository {
|
||||
* Texture IS destructed.
|
||||
*/
|
||||
void free(const u32& t_texId);
|
||||
void free(const Texture* t_tex);
|
||||
void free(const Texture& t_tex);
|
||||
|
||||
private:
|
||||
std::vector<Texture*> textures;
|
||||
|
||||
Reference in New Issue
Block a user