Commit 2a0def7f by Alexis Hetu Committed by Alexis Hétu

Revert part of "Fix Linux build." to fix swiftshader_unittests

The cl "Fix Linux build." broke swiftshader_unittests on Linux and MacOS. Reverting part of that cl to fix swiftshader_unittests, and hopefully keep the part of the cl that fixed the build originally. Change-Id: I3126a12f12ca7337f18c758db16dd3542dcfc226 Reviewed-on: https://swiftshader-review.googlesource.com/18848Tested-by: 's avatarAlexis Hétu <sugoi@google.com> Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com>
parent 5fd1cfaa
......@@ -643,7 +643,7 @@ LibEGLexports::LibEGLexports()
this->clientGetCurrentContext = egl::getCurrentContext;
}
extern "C" LibEGLexports *libEGL_swiftshader()
extern "C" EGLAPI LibEGLexports *libEGL_swiftshader()
{
static LibEGLexports libEGL;
return &libEGL;
......
......@@ -1420,7 +1420,7 @@ LibGLESv2exports::LibGLESv2exports()
this->createFrameBuffer = ::createFrameBuffer;
}
extern "C" LibGLESv2exports *libGLESv2_swiftshader()
extern "C" GL_APICALL LibGLESv2exports *libGLESv2_swiftshader()
{
static LibGLESv2exports libGLESv2;
return &libGLESv2;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment