about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-05-17 12:59:49 +0200
committerptitSeb <sebastien.chev@gmail.com>2021-05-17 12:59:49 +0200
commit2865f0eab289e6e02030e7d9d3d9634ebc40185f (patch)
tree93f9893df387baeaab17e76ef7c5ea0883391d60 /src
parenta5780632cafbf34f37ac2784e48107b38a3f10f5 (diff)
downloadbox64-2865f0eab289e6e02030e7d9d3d9634ebc40185f.tar.gz
box64-2865f0eab289e6e02030e7d9d3d9634ebc40185f.zip
Added some wrapped function for libSDL2 and libGL
Diffstat (limited to 'src')
-rwxr-xr-xsrc/wrapped/wrappedlibgl_private.h5
-rwxr-xr-xsrc/wrapped/wrappedsdl2_private.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/wrapped/wrappedlibgl_private.h b/src/wrapped/wrappedlibgl_private.h
index 4bbbad03..6356ba10 100755
--- a/src/wrapped/wrappedlibgl_private.h
+++ b/src/wrapped/wrappedlibgl_private.h
@@ -2854,6 +2854,8 @@ GO(glTextureBarrier, vFv)
 GO(glTextureParameteriiv, vFuip)
 GO(glTextureParameteriuiv, vFuip)
 GO(glVertexArrayVertexBuffers, vFuuippp)
+//VERSION_4_6
+GO(glSpecializeShader, vFippp)
 
 //GL_EXT_memory_object
 GO(glGetUnsignedBytei_vEXT, vFiup)
@@ -3016,3 +3018,6 @@ GO(glXGetSwapIntervalMESA, iFv)
 
 //GLX_SGI_swap_control
 GO(glXSwapIntervalSGI,iFi)
+
+//GLX_ARB_????
+GO(glSpecializeShaderARB, vFippp)
diff --git a/src/wrapped/wrappedsdl2_private.h b/src/wrapped/wrappedsdl2_private.h
index 5e2f5656..6fff7341 100755
--- a/src/wrapped/wrappedsdl2_private.h
+++ b/src/wrapped/wrappedsdl2_private.h
@@ -601,7 +601,7 @@ GOM(SDL_snprintf, iFEpLpV)
 GO(SDL_SoftStretch, iFpppp)
 GO(SDL_sqrt, dFd)
 GO(SDL_sqrtf, fFf)
-//GO2(SDL_sscanf, iFppV, SDL_vsscanf)
+GO2(SDL_sscanf, iFEppV, my_sscanf)
 GO(SDL_StartTextInput, vFv)
 GO(SDL_StopTextInput, vFv)
 GO(SDL_strcasecmp, iFpp)