From f9bc94bfb8529c6b10c989ad3a355498a72d7f85 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Sun, 5 Mar 2023 15:09:11 +0100 Subject: Refactored OpenGL symbol fetching and managment --- src/include/gltools.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/include/gltools.h (limited to 'src/include/gltools.h') diff --git a/src/include/gltools.h b/src/include/gltools.h new file mode 100644 index 00000000..07bd74f7 --- /dev/null +++ b/src/include/gltools.h @@ -0,0 +1,12 @@ +#ifndef __GL_TOOLS_H__ +#define __GL_TOOLS_H__ + +typedef struct box64context_s box64context_t; + +typedef void* (*glprocaddress_t)(const char* name); + +void freeGLProcWrapper(box64context_t* context); + +void* getGLProcAddress(x64emu_t* emu, glprocaddress_t procaddr, const char* rname); + +#endif //__GL_TOOLS_H__ \ No newline at end of file -- cgit 1.4.1