dispframe: initialize color clamping, for and palettes after loading
This commit is contained in:
parent
a3cba92665
commit
fea5f05b20
|
@ -29,8 +29,12 @@ void dc_run()
|
|||
|
||||
double t0 = os_GetSeconds();
|
||||
TA_context*ctx = read_frame(frame_path);
|
||||
ctx->rend.fog_clamp_min = FOG_CLAMP_MIN;
|
||||
ctx->rend.fog_clamp_max = FOG_CLAMP_MAX;
|
||||
double t1 = os_GetSeconds();
|
||||
printf("Loaded context in %g ms\n", (t1- t0) * 1000);
|
||||
fog_needs_update = true;
|
||||
pal_needs_update = true;
|
||||
printf("Loaded context in %g ms\n", (t1 - t0) * 1000);
|
||||
|
||||
while(renderer_enabled)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue