project for a (works on my devices) demo
This commit is contained in:
18
SOURCES/graphics/library/application_context.h
Normal file
18
SOURCES/graphics/library/application_context.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
|
||||
#include "../os/WAYLAND/wl_context.h"
|
||||
#include "../os/EGL/egl_context.h"
|
||||
|
||||
#include "window/window.h"
|
||||
|
||||
typedef struct {
|
||||
wl_context *w_context;
|
||||
egl_context *e_context;
|
||||
window *win;
|
||||
|
||||
uint8_t running;
|
||||
} application_context;
|
||||
|
||||
application_context *application_context_malloc();
|
||||
|
||||
application_context* application_context_new( const char *title);
|
||||
Reference in New Issue
Block a user