--- orig.cpp 2016-06-07 23:14:22.456677576 -0700 +++ cpp-tutorial-4-gles3-pointcloud.cpp 2016-06-07 23:09:17.081781589 -0700 @@ -33,6 +33,9 @@ { // Open a GLFW window to display our output glfwInit(); + glfwWindowHint(GLFW_CLIENT_API, GLFW_OPENGL_ES_API); + glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3); + glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 0); win_ = glfwCreateWindow(display_size_.width, display_size_.height, "librealsense tutorial #4", nullptr, nullptr); glfwSetCursorPosCallback(win_, on_cursor_pos);