mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-14 19:38:10 +00:00
[client] interface: switch to using UPCAST for the renderer's data
This commit is contained in:
@@ -89,8 +89,7 @@ struct AppState
|
||||
bool posInfoValid;
|
||||
bool alignToGuest;
|
||||
|
||||
const LG_RendererOps * lgr;
|
||||
void * lgrData;
|
||||
LG_Renderer * lgr;
|
||||
atomic_int lgrResize;
|
||||
LG_Lock lgrLock;
|
||||
bool useDMA;
|
||||
@@ -284,3 +283,5 @@ extern struct CursorState g_cursor;
|
||||
extern struct AppParams g_params;
|
||||
|
||||
int main_frameThread(void * unused);
|
||||
|
||||
#define RENDERER(fn, ...) g_state.lgr->ops.fn(g_state.lgr, ##__VA_ARGS__)
|
||||
|
Reference in New Issue
Block a user