Refactoring

This commit is contained in:
2018-09-23 19:47:40 +02:00
parent 72b7d4e872
commit ec354d9d8c
19 changed files with 473 additions and 201 deletions

View File

@@ -43,4 +43,8 @@ LVRC_API bool lvrcEndFrame(struct lvrcInstance * state);
# include "lvrc_EGL.h"
#endif // __egl_h_
#ifdef GLX_H
# include "lvrc_GLX.h"
#endif // GLX_H
#endif // LINUX_VR_COMPOSITOR_H

14
include/lvrc_GLX.h Normal file
View File

@@ -0,0 +1,14 @@
#ifndef LINUX_VR_COMPOSITOR_GLX_H
#define LINUX_VR_COMPOSITOR_GLX_H
#ifdef __cplusplus
extern "C" {
#endif
LVRC_API bool lvrcInitRenderingGLX(struct lvrcInstance * state, Display* display, GLXDrawable drawable, GLXContext context);
#ifdef __cplusplus
}
#endif
#endif // LINUX_VR_COMPOSITOR_GLX_H