Include guards on our headers

This commit is contained in:
Jasmine Iwanek
2022-02-18 19:42:21 -05:00
parent 7d3cfc0fe5
commit 7fc893bdb0
127 changed files with 472 additions and 277 deletions

View File

@@ -15,6 +15,10 @@
*
* Copyright 2008-2020 Sarah Walker.
*/
#ifndef VIDEO_VOODOO_TEXTURE_H
# define VIDEO_VOODOO_TEXTURE_H
static const uint32_t texture_offset[LOD_MAX+3] =
{
0,
@@ -34,3 +38,5 @@ void voodoo_recalc_tex(voodoo_t *voodoo, int tmu);
void voodoo_use_texture(voodoo_t *voodoo, voodoo_params_t *params, int tmu);
void voodoo_tex_writel(uint32_t addr, uint32_t val, void *p);
void flush_texture_cache(voodoo_t *voodoo, uint32_t dirty_addr, int tmu);
#endif /* VIDEO_VOODOO_TEXTURE_H*/