From 8edfc69f2b20c0f0029d87cdf360ca43f090a132 Mon Sep 17 00:00:00 2001 From: rdb Date: Wed, 24 Aug 2011 10:02:17 +0000 Subject: [PATCH] this should probably fix the windows build --- panda/src/dxgsg8/wdxGraphicsBuffer8.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/panda/src/dxgsg8/wdxGraphicsBuffer8.cxx b/panda/src/dxgsg8/wdxGraphicsBuffer8.cxx index 47e24f8dc2..0d56e12020 100644 --- a/panda/src/dxgsg8/wdxGraphicsBuffer8.cxx +++ b/panda/src/dxgsg8/wdxGraphicsBuffer8.cxx @@ -293,7 +293,7 @@ rebuild_bitplanes() { color_tex->set_format(Texture::F_rgba); color_ctx = DCAST(DXTextureContext8, - color_tex->prepare_now(_gsg->get_prepared_objects(), _gsg)); + color_tex->prepare_now(0, _gsg->get_prepared_objects(), _gsg)); if (color_ctx) { if (!color_ctx->create_texture(*_dxgsg->_screen)) { dxgsg8_cat.error() @@ -348,7 +348,7 @@ rebuild_bitplanes() { depth_tex->set_format(Texture::F_depth_stencil); depth_ctx = DCAST(DXTextureContext8, - depth_tex->prepare_now(_gsg->get_prepared_objects(), _gsg)); + depth_tex->prepare_now(0, _gsg->get_prepared_objects(), _gsg)); if (depth_ctx) { if (!depth_ctx->create_texture(*_dxgsg->_screen)) { dxgsg8_cat.error() @@ -434,7 +434,7 @@ select_cube_map(int cube_map_index) { if (color_tex) { color_ctx = DCAST(DXTextureContext8, - color_tex->prepare_now(_gsg->get_prepared_objects(), _gsg)); + color_tex->prepare_now(0, _gsg->get_prepared_objects(), _gsg)); if (!color_ctx->create_texture(*_dxgsg->_screen)) { dxgsg8_cat.error() << "Unable to re-create texture " << *color_ctx->get_texture() << endl;