about summary refs log tree commit diff stats
path: root/src/include/gltools.h
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2023-03-05 15:09:11 +0100
committerptitSeb <sebastien.chev@gmail.com>2023-03-05 15:09:11 +0100
commitf9bc94bfb8529c6b10c989ad3a355498a72d7f85 (patch)
tree0925bfbe5acffb73cff63fbc54724ecd9937cbe8 /src/include/gltools.h
parent72119ddfa449bdfc98c7152653047f34feca332c (diff)
downloadbox64-f9bc94bfb8529c6b10c989ad3a355498a72d7f85.tar.gz
box64-f9bc94bfb8529c6b10c989ad3a355498a72d7f85.zip
Refactored OpenGL symbol fetching and managment
Diffstat (limited to 'src/include/gltools.h')
-rw-r--r--src/include/gltools.h12
1 files changed, 12 insertions, 0 deletions
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