mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-05-13 16:37:27 +00:00
Log a warning when falling back to 8bit textures
This commit is contained in:
parent
d3c5cb12c4
commit
e8cfedee07
1 changed files with 1 additions and 0 deletions
|
|
@ -673,6 +673,7 @@ setup_texture_as_render_target(unsigned width, unsigned height, GLuint *texture_
|
|||
free_framebuffer(framebuffer_id);
|
||||
free_texture(texture_id);
|
||||
setup_texture_as_render_target(width, height, texture_id, framebuffer_id);
|
||||
log_error("WARNING: Your GPU driver does not support 16bit textures as framebuffer targets, some colors may be slightly inaccurate.");
|
||||
} else {
|
||||
fatal("Your GPU driver does not support indirect rendering to a GL_RGBA texture via a framebuffer");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue