diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2025-02-12 08:02:15 +0100 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2025-02-12 08:02:15 +0100 |
commit | b187d63d434e5fa5f18ab4b09db7358e36cb58f5 (patch) | |
tree | 5ba808f58980bc5c766f64e6d7aac56d09899fe1 | |
parent | 8e76a23e425515ffd0e63b7db7a3caca058f6a70 (diff) | |
download | reduced_system_layer-b187d63d434e5fa5f18ab4b09db7358e36cb58f5.zip |
Update comments
-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); |