fix win32 build issue

This commit is contained in:
David Rose 2012-02-11 23:40:57 +00:00
parent f90cea1a22
commit f2d095b3a3
2 changed files with 2 additions and 2 deletions

View File

@ -157,7 +157,7 @@ make_output(const string &name,
if ((gsg != 0)&&
(gsg->is_valid())&&
(!gsg->needs_reset())&&
(gsg->get_supports_render_texture())) {
(DCAST(DXGraphicsStateGuardian8, gsg)->get_supports_render_texture())) {
precertify = true;
}
return new wdxGraphicsBuffer8(engine, this, name, fb_prop, win_prop,

View File

@ -153,7 +153,7 @@ make_output(const string &name,
if ((gsg != 0)&&
(gsg->is_valid())&&
(!gsg->needs_reset())&&
(gsg->get_supports_render_texture())) {
(DCAST(DXGraphicsStateGuardian9, gsg)->get_supports_render_texture())) {
precertify = true;
}
return new wdxGraphicsBuffer9(engine, this, name, fb_prop, win_prop,