Commit 2907913f authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Print a more obvious message if a format doesn't have a corresponding GL internal format.

parent 8ad98cdb
......@@ -2661,6 +2661,9 @@ static void surface_allocate_surface(struct wined3d_surface *surface, const stru
internal = format->glInternal;
}
if (!internal)
FIXME("No GL internal format for format %s.\n", debug_d3dformat(format->id));
if (format->flags & WINED3DFMT_FLAG_HEIGHT_SCALE)
{
height *= format->height_scale.numerator;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment