Add more options

This commit is contained in:
schmelczerandras 2020-09-17 17:51:45 +02:00
parent d0b53678e2
commit 2481cfc3e6
14 changed files with 102 additions and 117 deletions

View file

@ -5,8 +5,8 @@ export class IntermediateFrameBuffer extends FrameBuffer {
private frameTexture: WebGLTexture;
private floatLinearEnabled = false;
constructor(gl: WebGL2RenderingContext, enableHighDpiRendering: boolean) {
super(gl, enableHighDpiRendering);
constructor(gl: WebGL2RenderingContext) {
super(gl);
enableExtension(gl, 'EXT_color_buffer_float');