projects
/
laserbrain_demo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ov_open_callbacks doesn't set ass_errno obviously. removed it from the
[laserbrain_demo]
/
src
/
app.cc
diff --git
a/src/app.cc
b/src/app.cc
index
07ecdec
..
9f58b5f
100644
(file)
--- a/
src/app.cc
+++ b/
src/app.cc
@@
-559,6
+559,12
@@
void app_display()
vp_width = win_width;
vp_height = win_height;
+ if(!gfbo && !fb_srgb && sdr_post_gamma) {
+ glViewport(0, 0, win_width, win_height);
+ slow_post(sdr_post_gamma);
+ glUseProgram(0);
+ }
+
if(should_swap) {
app_swap_buffers();
}