wined3d: Print a more obvious message if a format doesn't have a corresponding GL internal format.
This commit is contained in:
parent
8ad98cdbee
commit
2907913fad
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue