minor cleanup

This commit is contained in:
rdb 2011-03-02 11:33:23 +00:00
parent 926f4e5b30
commit 730a278372

View File

@ -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++) {