Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 4, 2006, 3:53:25 PM (18 years ago)
Author:
bensch
Message:

segfault prevention

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/presentation/src/world_entities/skydome.cc

    r9121 r9149  
    11/*
    22   orxonox - the future of 3D-vertical-scrollers
    3  
     3
    44   Copyright (C) 2006 orx
    5  
     5
    66   This program is free software; you can redistribute it and/or modify
    77   it under the terms of the GNU General Public License as published by
    88   the Free Software Foundation; either version 2, or (at your option)
    99   any later version.
    10  
     10
    1111### File Specific:
    1212   main-programmer: hdavid, amaechler
     
    4747  this->toList(OM_BACKGROUND);
    4848  this->toReflectionList();
    49  
     49  this->indices = NULL;
     50  this->vertices = NULL;
     51  this->shader = NULL;
    5052  activateDome = false;
    5153
     
    9193  if(!activateDome)
    9294    return;
    93  
     95
    9496  glPushAttrib(GL_ENABLE_BIT);
    9597
Note: See TracChangeset for help on using the changeset viewer.