]> git.cworth.org Git - apitrace/blobdiff - common/trace_api.hpp
Auto detect the API from the trace.
[apitrace] / common / trace_api.hpp
index ed4823f5cab2492a3bdeb2abce2872298d2bc2aa..7619f71d1d5d853c98962fda56ba047bb34809fc 100644 (file)
 namespace trace {
 
 
+/**
+ * Enum to distuinguish the API for tools.
+ *
+ * It should never be embedded in the trace file.
+ */
 enum API {
+    API_UNKNOWN = 0,
     API_GL, // GL + GLX/WGL/CGL
     API_EGL, // GL/GLES1/GLES2/VG + EGL
     API_D3D7,