#include <limits.h>
#include <assert.h>
#include <goatvr.h>
+#include <assman.h>
#include "app.h"
#include "opengl.h"
#include "sdr.h"
app_resize(opt.width, opt.height);
app_fullscreen(opt.fullscreen);
+ if(opt.data_url) {
+ info_log("Adding URL asset source: %s\n", opt.data_url);
+ ass_add_url("data", opt.data_url);
+ }
+
if(opt.vr) {
if(goatvr_init() == -1) {
return false;
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();
}