
* working on windows * minor fix * working on macosx * Oops! I reversed resolution and frequency on macos * working on X11 * working on wayland * update the readme * format the readme Co-authored-by: Carlos Aragones <>
22 lines
515 B
C
22 lines
515 B
C
#pragma once
|
|
|
|
#include <MiniFB_enums.h>
|
|
#include <stdint.h>
|
|
#include <X11/Xlib.h>
|
|
|
|
|
|
typedef struct {
|
|
Window window;
|
|
|
|
Display *display;
|
|
int screen;
|
|
GC gc;
|
|
XImage *image;
|
|
|
|
void *image_buffer;
|
|
XImage *image_scaler;
|
|
uint32_t image_scaler_width;
|
|
uint32_t image_scaler_height;
|
|
struct mfb_timer *timer;
|
|
} SWindowData_X11;
|