Module: wine Branch: master Commit: 2907913fad3118800b675a8b52ae9dcaea191fdb URL: http://source.winehq.org/git/wine.git/?a=commit;h=2907913fad3118800b675a8b52... Author: Henri Verbeet <hverbeet(a)codeweavers.com> Date: Mon Jul 9 23:16:39 2012 +0200 wined3d: Print a more obvious message if a format doesn't have a corresponding GL internal format. --- dlls/wined3d/surface.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c index 95a5072..2d37cdf 100644 --- a/dlls/wined3d/surface.c +++ b/dlls/wined3d/surface.c @@ -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;