NOTE: Git statistics and logs are no longer updated after 2022-01-01. Please use other resources to look up Blender commit history, such as:

Blender Git Commits

Blender Git "imm_port_wm_playanim" branch commits.

April 5, 2017, 5:22 (GMT)
fix ps->go = false;
April 5, 2017, 3:54 (GMT)
initial commit: call the `playanim_window_open` only once

immInit should only be called once per application.
However, immediate mode only works if a GHOST window is created.
But every time you drop a video in the anim player, `GHOST_DisposeWindow` is called and a new window is created next. Forcing destroy and init a new immediate mode context :

This patch changes the order of things. And call `GHOST_SetClientSize` intead `GHOST_CreateSystem`, `GHOST_CreateEventConsumer`, `GHOST_AddEventConsumer` and `playanim_window_open`.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021