Add notice about currently unused code

This commit is contained in:
Flakebi
2015-01-20 21:22:46 +01:00
parent aafe86147a
commit 8e4bb4c22c
2 changed files with 7 additions and 2 deletions

View File

@@ -8,6 +8,10 @@
#define MAX2(a, b) ((a) > (b) ? (a) : (b))
#define MIN2(a, b) ((a) > (b) ? (b) : (a))
//***************************************************************************
// Currently unused functions, they will be used later so please DON'T remove
//***************************************************************************
/*static float getTexelValue(unsigned i, unsigned j, size_t width, size_t height, float *Coeff, float *Y00, float *Y1minus1, float *Y10, float *Y11,
float *Y2minus2, float * Y2minus1, float * Y20, float *Y21, float *Y22)
{

View File

@@ -109,11 +109,12 @@ void IrrDriver::UpdateSplitAndLightcoordRangeFromComputeShaders(size_t width, si
{
// Value that should be kept between multiple calls
static GLuint ssbo[2];
//static Histogram *Hist[2];
static GLsync LightcoordBBFence = 0;
static float tmpshadowSplit[5] = { 1., 5., 20., 50., 150. };
// Currently unused code, that will be used later so please DON'T remove
//static Histogram *Hist[2];
//static size_t currentHist = 0;
//static GLuint ssboSplit[2];
static float tmpshadowSplit[5] = { 1., 5., 20., 50., 150. };
if (!LightcoordBBFence)
{