+#include <assimp/version.h>
#include <GL/glxew.h>
#include <GLFW/glfw3.h>
void onGlfwError(int error, const char* description);
int main(/*int argc, char** argv*/) {
+ logInfo("Assimp %u.%u", aiGetVersionMajor(), aiGetVersionMinor());
+ logInfo("GLEW %s", (const char*) glewGetString(GLEW_VERSION));
+ logInfo("GLFW %s", glfwGetVersionString());
+
glfwSetErrorCallback(onGlfwError);
if (!glfwInit()) {
logError("GLEW init failed: %s", (const char*) glewGetErrorString(glewInitStatus));
return 1;
}
- logInfo("GLEW %s", (const char*) glewGetString(GLEW_VERSION));
/*
if (GLXEW_EXT_swap_control) {
Display* display = glXGetCurrentDisplay();