From d20c45074d601a80109ec619751aca4e69c69770 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Audren?= Date: Mon, 10 May 2021 14:28:53 +0900 Subject: [PATCH] Rename initGLFW to initEGL --- gl_depth_sim/include/gl_depth_sim/sim_depth_camera.h | 2 +- gl_depth_sim/src/gl_depth_sim/sim_depth_camera.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gl_depth_sim/include/gl_depth_sim/sim_depth_camera.h b/gl_depth_sim/include/gl_depth_sim/sim_depth_camera.h index 4158d58..5995d83 100644 --- a/gl_depth_sim/include/gl_depth_sim/sim_depth_camera.h +++ b/gl_depth_sim/include/gl_depth_sim/sim_depth_camera.h @@ -75,7 +75,7 @@ class SimDepthCamera bool move(const std::string mesh_id, const Eigen::Isometry3d& pose); private: - void initGLFW(); + void initEGL(); void createGLFramebuffer(); // State information diff --git a/gl_depth_sim/src/gl_depth_sim/sim_depth_camera.cpp b/gl_depth_sim/src/gl_depth_sim/sim_depth_camera.cpp index 89966b0..4e7fa38 100644 --- a/gl_depth_sim/src/gl_depth_sim/sim_depth_camera.cpp +++ b/gl_depth_sim/src/gl_depth_sim/sim_depth_camera.cpp @@ -47,7 +47,7 @@ gl_depth_sim::SimDepthCamera::SimDepthCamera(const gl_depth_sim::CameraPropertie , proj_(createProjectionMatrix(camera)) { // Load GLFW and OpenGL libraries; create window; create extensions - initGLFW(); + initEGL(); // Creates an alternate frame buffer for offscreen rendering createGLFramebuffer(); @@ -157,7 +157,7 @@ bool gl_depth_sim::SimDepthCamera::move(const std::string mesh_id, const Eigen:: -void gl_depth_sim::SimDepthCamera::initGLFW() +void gl_depth_sim::SimDepthCamera::initEGL() { int egl_version = gladLoaderLoadEGL(NULL); if (!egl_version) {