From 15740faf9fe9fe4be08965098bbf2947e096aeeb Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 14 Aug 2019 22:50:43 +0800 Subject: +Unity Runtime code --- Runtime/GfxDevice/opengles30/UnityGLES30Ext.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Runtime/GfxDevice/opengles30/UnityGLES30Ext.cpp (limited to 'Runtime/GfxDevice/opengles30/UnityGLES30Ext.cpp') diff --git a/Runtime/GfxDevice/opengles30/UnityGLES30Ext.cpp b/Runtime/GfxDevice/opengles30/UnityGLES30Ext.cpp new file mode 100644 index 0000000..37fcb09 --- /dev/null +++ b/Runtime/GfxDevice/opengles30/UnityGLES30Ext.cpp @@ -0,0 +1,14 @@ +#include "UnityPrefix.h" +#include "IncludesGLES30.h" +#include "UnityGLES30Ext.h" +#include "Runtime/GfxDevice/opengles/ExtensionsGLES.h" + +void Gles3ExtFunc::InitExtFunc() +{ + glPushGroupMarkerEXT = (glPushGroupMarkerEXTFunc)GetGLExtProcAddress("glPushGroupMarkerEXT"); + glPopGroupMarkerEXT = (glPopGroupMarkerEXTFunc)GetGLExtProcAddress("glPopGroupMarkerEXT"); + + glAlphaFuncQCOM = (glAlphaFuncQCOMFunc)GetGLExtProcAddress("glAlphaFuncQCOM"); +} + +Gles3ExtFunc gGles3ExtFunc; -- cgit v1.1-26-g67d0