I noticed this function gets called twice when doing an alt+enter to full screen.

On Thu, Jul 17, 2008 at 4:35 PM, H. Verbeet <hverbeet@gmail.com> wrote:
2008/7/17 Andrew Fenn <andrewfenn@gmail.com>:
> I added a check to make sure This->shader_priv wasn't null. Before
> Everquest2.exe would crash when I tried to alt+enter from windowed mode.
> This stops it crashing wine.
>
This->shader_priv shouldn't be NULL. It probably means the backend was
already destroyed when shader_glsl_free() was called.