Commit 635c9b33 by Alexis Hetu Committed by Alexis Hétu

Fixed warnings in the Vulkan project

Some classes were given the following attribute: [[clang::lto_visibility_public]] This produces a warning in Visual Studio. This was meant to allow these base classes to be visible to both libEGL and libGLESv2. Vulkan will be a single DLL, so this won't be an issue, so I simply removed both instances of this attribute in the Vulkan project. Change-Id: I6d1b0bb0ab5351d6b788917c0b876e9355505404 Reviewed-on: https://swiftshader-review.googlesource.com/c/22428Tested-by: 's avatarAlexis Hétu <sugoi@google.com> Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
parent 8aa74a42
......@@ -315,7 +315,7 @@ namespace sw
LOCK_UPDATE // Write access which doesn't dirty the buffer, because it's being updated with the sibling's data.
};
class [[clang::lto_visibility_public]] Surface
class Surface
{
private:
struct Buffer
......
......@@ -37,7 +37,7 @@ namespace sw
int cursorHeight;
};
class [[clang::lto_visibility_public]] FrameBuffer
class FrameBuffer
{
public:
FrameBuffer(int width, int height, bool fullscreen, bool topLeftOrigin);
......
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