private the texture.c/.h, remove vestigial circle hash table from ctx
This commit is contained in:
@ -1,7 +1,8 @@
|
||||
#ifndef RENDERING_INTERNAL_API_H
|
||||
#define RENDERING_INTERNAL_API_H
|
||||
#include "../textures.h"
|
||||
|
||||
#include "../util.h"
|
||||
#include "../textures/internal_api.h"
|
||||
|
||||
#include <SDL2/SDL.h>
|
||||
#include <glad/glad.h>
|
||||
@ -78,4 +79,10 @@ struct mesh_batch_item {
|
||||
struct mesh_batch value;
|
||||
};
|
||||
|
||||
/* renders the background, then the primitives in all render queues */
|
||||
void render(void);
|
||||
|
||||
/* clears all render queues */
|
||||
void render_queue_clear(void);
|
||||
|
||||
#endif
|
||||
|
@ -2,10 +2,10 @@
|
||||
#ifndef SPRITES_H
|
||||
#define SPRITES_H
|
||||
|
||||
#include "../textures.h"
|
||||
#include "../rendering.h"
|
||||
#include "../context.h"
|
||||
#include "../util.h"
|
||||
#include "../textures/internal_api.h"
|
||||
#include "quad_element_buffer.h"
|
||||
#include "internal_api.h"
|
||||
|
||||
|
@ -2,9 +2,9 @@
|
||||
#ifndef TRIANGLES_H
|
||||
#define TRIANGLES_H
|
||||
|
||||
#include "../textures.h"
|
||||
#include "../context.h"
|
||||
#include "internal_api.h"
|
||||
#include "../textures/internal_api.h"
|
||||
|
||||
#include <stb_ds.h>
|
||||
|
||||
|
Reference in New Issue
Block a user