mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
Remove extra curly brace.
Display a little more info when a texture fails to create.
This commit is contained in:
parent
9752545e0b
commit
88d1ee7836
@ -170,7 +170,6 @@ create_texture(DXScreenData &scrn) {
|
||||
compress_texture = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
case Texture::TT_3d_texture:
|
||||
// not supported by all video chips
|
||||
@ -904,6 +903,9 @@ if (get_texture()->get_render_to_texture ( )) {
|
||||
if (FAILED(hr)) {
|
||||
dxgsg9_cat.error()
|
||||
<< "D3D create_texture failed!" << D3DERRORSTRING(hr);
|
||||
dxgsg9_cat.error()
|
||||
<< " width = " << target_width << " height = " << target_height << " target_pixel_format = " << target_pixel_format << "\n";
|
||||
|
||||
goto error_exit;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user