move drawglx to internal/, add __cplusplus guard
This commit is contained in:
parent
ad74113459
commit
2aa560fe4e
@ -7,6 +7,11 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C"
|
||||||
|
{
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <X11/Xlib.h>
|
#include <X11/Xlib.h>
|
||||||
#include <X11/XKBlib.h>
|
#include <X11/XKBlib.h>
|
||||||
|
|
||||||
@ -37,6 +42,7 @@ struct xoverlay_library
|
|||||||
extern struct xoverlay_library xoverlay_library;
|
extern struct xoverlay_library xoverlay_library;
|
||||||
|
|
||||||
int xoverlay_init();
|
int xoverlay_init();
|
||||||
|
|
||||||
void xoverlay_destroy();
|
void xoverlay_destroy();
|
||||||
|
|
||||||
void xoverlay_show();
|
void xoverlay_show();
|
||||||
@ -46,3 +52,7 @@ void xoverlay_hide();
|
|||||||
void xoverlay_draw_begin();
|
void xoverlay_draw_begin();
|
||||||
|
|
||||||
void xoverlay_draw_end();
|
void xoverlay_draw_end();
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
* Author: nullifiedcat
|
* Author: nullifiedcat
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "drawglx.h"
|
#include "internal/drawglx.h"
|
||||||
|
|
||||||
#include <GL/glew.h>
|
#include <GL/glew.h>
|
||||||
#include <GL/gl.h>
|
#include <GL/gl.h>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
* Author: nullifiedcat
|
* Author: nullifiedcat
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "drawglx.h"
|
#include "internal/drawglx.h"
|
||||||
|
|
||||||
#include <GL/glx.h>
|
#include <GL/glx.h>
|
||||||
#include <X11/extensions/shape.h>
|
#include <X11/extensions/shape.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user