mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 00:06:44 -04:00
tests: ensure FrameBufferProperties has working copy constructor
This commit is contained in:
parent
fa6d8b4b39
commit
c1e5a71904
@ -1,6 +1,12 @@
|
||||
from panda3d.core import FrameBufferProperties
|
||||
|
||||
|
||||
def test_fbprops_copy_ctor():
|
||||
default = FrameBufferProperties.get_default()
|
||||
fbprops = FrameBufferProperties(default)
|
||||
assert fbprops == default
|
||||
|
||||
|
||||
def test_fbquality_depth():
|
||||
# We check common framebuffer depth configurations to make sure they
|
||||
# are rated predictably with respect to each other when requesting 1 bit.
|
||||
|
Loading…
x
Reference in New Issue
Block a user