mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
fix win32 build issue
This commit is contained in:
parent
f90cea1a22
commit
f2d095b3a3
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user