mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -04:00
minor cleanup
This commit is contained in:
parent
926f4e5b30
commit
730a278372
@ -95,7 +95,7 @@ CLP(GraphicsBuffer)(GraphicsEngine *engine, GraphicsPipe *pipe,
|
||||
CLP(GraphicsBuffer)::
|
||||
~CLP(GraphicsBuffer)() {
|
||||
// unshare shared depth buffer if any
|
||||
this -> unshare_depth_buffer();
|
||||
this->unshare_depth_buffer();
|
||||
|
||||
// unshare all buffers that are sharing this object's depth buffer
|
||||
{
|
||||
@ -398,8 +398,7 @@ rebuild_bitplanes() {
|
||||
|
||||
RenderTexturePlane plane = get_texture_plane(i);
|
||||
|
||||
switch (plane)
|
||||
{
|
||||
switch (plane) {
|
||||
case RTP_depth:
|
||||
case RTP_depth_stencil:
|
||||
for (int f = 0; f < 6; f++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user