X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2F3dengfx%2Fsrc%2Ffxwt%2Finit.hpp;fp=src%2F3dengfx%2Fsrc%2Ffxwt%2Finit.hpp;h=9168b29f90f6ace70f9283637e2cc91beaa34aa3;hb=6e23259dbabaeb1711a2a5ca25b9cb421f693759;hp=0000000000000000000000000000000000000000;hpb=fe068fa879814784c45e0cb2e65dac489e8f5594;p=summerhack diff --git a/src/3dengfx/src/fxwt/init.hpp b/src/3dengfx/src/fxwt/init.hpp new file mode 100644 index 0000000..9168b29 --- /dev/null +++ b/src/3dengfx/src/fxwt/init.hpp @@ -0,0 +1,18 @@ +#ifndef _FXWT_INIT_HPP_ +#define _FXWT_INIT_HPP_ + +#include "gfx_library.h" +#include "3dengfx/3denginefx_types.hpp" + +#if GFX_LIBRARY == GTK +extern GtkWidget *gl_drawing_area; +#endif // GTK + +namespace fxwt { + bool init_graphics(GraphicsInitParameters *gip); + void destroy_graphics(); + + void swap_buffers(); +} + +#endif // _FXWT_INIT_HPP_