Revert "Remove GLTrace support"
This reverts commit 5bf6f3b5bf06e04a742bde8d40409d3c9e434c05.
Change-Id: I25a2d9b4a4b219cb76b405db1f68997519361cd6
diff --git a/opengl/libs/EGL/Loader.cpp b/opengl/libs/EGL/Loader.cpp
index 0f58f96..8df9af3 100644
--- a/opengl/libs/EGL/Loader.cpp
+++ b/opengl/libs/EGL/Loader.cpp
@@ -28,6 +28,8 @@
#include <EGL/egl.h>
+#include "../glestrace.h"
+
#include "egldefs.h"
#include "Loader.h"
@@ -156,6 +158,7 @@
}
Loader::~Loader() {
+ GLTrace_stop();
}
static void* load_wrapper(const char* path) {