Project

General

Profile

« Previous | Next » 

Revision c207da02

Added by Leszek Koltunski almost 6 years ago

OIT: fixes. Everything looks correct now except for the curious return of the 'dancing lower-left corner' small glitch in the 'Transparency' app.

View differences:

src/main/java/org/distorted/library/main/DistortedFramebuffer.java
197 197
    super(width,height,NOT_CREATED_YET,numcolors,depthStencil,NOT_CREATED_YET,TYPE_USER);
198 198
    }
199 199

  
200
///////////////////////////////////////////////////////////////////////////////////////////////////
201

  
202
/**
203
 * Create new offscreen Framebuffer with COLOR0 attachment only.
204
 *
205
 * @param width Width of the COLOR0 attachment.
206
 * @param height Height of the COLOR0 attachment.
207
 */
208
  @SuppressWarnings("unused")
209
  public DistortedFramebuffer(int width, int height)
210
    {
211
    super(width,height,NOT_CREATED_YET, 1, NO_DEPTH_NO_STENCIL,NOT_CREATED_YET,TYPE_USER);
212
    }
213

  
214 200
///////////////////////////////////////////////////////////////////////////////////////////////////
215 201
/**
216 202
 * Bind the underlying rectangle of pixels as a OpenGL Texture.

Also available in: Unified diff