orbitersim / orbiter

Open-source repository of Orbiter Space Flight Simulator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shuttle-A: surface for dynamic panel elements is no longer loaded in inline graphics client

mschweiger opened this issue · comments

Shuttle-A now loads its surface for the dynamic panel elements with a oapiLoadSurfaceEx call. I guess this was a D3D9 client requirement. However, that function isn't implemented in the inline client, so the function returns NULL. Result: All dynamic panel areas are just white rectangles.

To fix, provide a dummy implementation of oapiLoadSurfaceEx that just redirects to oapiLoadTexture.

Also check that the D3D7 client implements this function.