private the texture.c/.h, remove vestigial circle hash table from ctx

This commit is contained in:
2024-07-30 18:31:38 +03:00
parent 2a8f4b1bdc
commit a4cb50687e
11 changed files with 63 additions and 74 deletions

View File

@ -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

View File

@ -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"

View File

@ -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>