nwn: bad printf, bad!

This commit is contained in:
Ryan Holtz 2011-06-01 22:21:35 +00:00
parent b6f85b8c26
commit b3406aac94

View File

@ -3979,7 +3979,6 @@ static texture_info *texture_create(d3d_info *d3d, const render_texinfo *texsour
int hlsl_prescale = 1;
while(texture->rawwidth * hlsl_prescale < d3d->width) hlsl_prescale++;
d3d->hlsl_prescale_size = hlsl_prescale;
printf("%d, %d, %d\n", texture->rawwidth, texture->rawheight, hlsl_prescale);
result = (*d3dintf->device.create_texture)(d3d->device, texture->rawwidth * hlsl_prescale, texture->rawheight * hlsl_prescale, 1, D3DUSAGE_RENDERTARGET, D3DFMT_A8R8G8B8, D3DPOOL_DEFAULT, &d3d->hlsltexture0[idx]);
if (result != D3D_OK)
@ -4074,7 +4073,6 @@ static texture_info *texture_create(d3d_info *d3d, const render_texinfo *texsour
int hlsl_prescale = 1;
while(scwidth * hlsl_prescale < d3d->width) hlsl_prescale++;
d3d->hlsl_prescale_size = hlsl_prescale;
printf("%d, (%d, %d)\n", texture->rawwidth, scwidth, scheight);
result = (*d3dintf->device.create_texture)(d3d->device, scwidth * hlsl_prescale, scheight * hlsl_prescale, 1, D3DUSAGE_RENDERTARGET, D3DFMT_A8R8G8B8, D3DPOOL_DEFAULT, &d3d->hlsltexture0[idx]);
if (result != D3D_OK)