Fixed Mac build
The Linux build fix had broken the Mac build, so the new
"typeinfo" virtual function were moved from the header files
to the source files to fix both builds simultaneously.
Change-Id: I37f5ef4bd5ec4da34a19531dcb85df6a98728aa1
Reviewed-on: https://swiftshader-review.googlesource.com/8748
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
diff --git a/src/Renderer/Surface.cpp b/src/Renderer/Surface.cpp
index 2c48163..0e626f1 100644
--- a/src/Renderer/Surface.cpp
+++ b/src/Renderer/Surface.cpp
@@ -39,6 +39,7 @@
unsigned int *Surface::palette = 0;
unsigned int Surface::paletteID = 0;
+ void Surface::typeinfo() {}
void Rect::clip(int minX, int minY, int maxX, int maxY)
{