Skip to content

Commit

Permalink
Rename initGLFW to initEGL
Browse files Browse the repository at this point in the history
  • Loading branch information
haudren committed May 10, 2021
1 parent ee8e367 commit d20c450
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gl_depth_sim/include/gl_depth_sim/sim_depth_camera.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions gl_depth_sim/src/gl_depth_sim/sim_depth_camera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit d20c450

Please sign in to comment.