diff options
Diffstat (limited to 'reduced_system_layer.c')
-rwxr-xr-x | reduced_system_layer.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/reduced_system_layer.c b/reduced_system_layer.c index ab2b591..1ca54e5 100755 --- a/reduced_system_layer.c +++ b/reduced_system_layer.c @@ -95,6 +95,8 @@ #/ - X11 #/ - Wayland #/ - ALSA +#/ - Sockets +#/ - Windows #/ - Allocator #/ - Parsing #/ - Printing @@ -110,6 +112,7 @@ #/ - Cryptography - https://github.com/jedisct1/supercop #/ - macOS support #/ - Mobile devices support +#/ - Vulkan compute boilerplate #/ #/ Done #/ @@ -2542,6 +2545,7 @@ static Atom _text_uri_list = 0; static Window _dnd_source = 0; static b8 _mapped = 0; static b8 _requested_clipboard = 0; +// TODO: Use the same buffer for both scaled and non-scaled images. static i64 _pixels_scaled_len = 0; static u32 * _pixels_scaled = NULL; static i64 _pixels_internal_len = 0; @@ -2798,6 +2802,7 @@ void init_main_window(void) { XChangeProperty(_display, _window, _dnd_aware, 4, 32, PropModeReplace, &(u8) {5}, 1); + // FIXME: Check if _image.data is successfully allocated. XPutImage(_display, _window, _gc, &_image, 0, 0, 0, 0, _image.width, _image.height); XFlush(_display); @@ -3408,6 +3413,7 @@ void render_main_window_frame(void) { } } + // FIXME: Check if _image.data is successfully allocated. XPutImage(_display, _window, _gc, &_image, 0, 0, 0, 0, _image.width, _image.height); XFlush(_display); |