move drawglx to internal/, add __cplusplus guard

This commit is contained in:
nullifiedcat 2018-01-23 09:36:06 +03:00
parent ad74113459
commit 2aa560fe4e
4 changed files with 12 additions and 2 deletions

View File

@ -7,6 +7,11 @@
#pragma once
#ifdef __cplusplus
extern "C"
{
#endif
#include <X11/Xlib.h>
#include <X11/XKBlib.h>
@ -37,6 +42,7 @@ struct xoverlay_library
extern struct xoverlay_library xoverlay_library;
int xoverlay_init();
void xoverlay_destroy();
void xoverlay_show();
@ -46,3 +52,7 @@ void xoverlay_hide();
void xoverlay_draw_begin();
void xoverlay_draw_end();
#ifdef __cplusplus
}
#endif

View File

@ -5,7 +5,7 @@
* Author: nullifiedcat
*/
#include "drawglx.h"
#include "internal/drawglx.h"
#include <GL/glew.h>
#include <GL/gl.h>

View File

@ -5,7 +5,7 @@
* Author: nullifiedcat
*/
#include "drawglx.h"
#include "internal/drawglx.h"
#include <GL/glx.h>
#include <X11/extensions/shape.h>