mirror of
https://github.com/greggman/twgl.js.git
synced 2026-02-01 16:00:22 +00:00
test that AttachmentOptions uses TextureOptions in ts
This commit is contained in:
parent
508cd8897b
commit
d01443f38b
@ -31,6 +31,11 @@ window.addEventListener("onload", function() {
|
||||
twgl.primitives.createDiscBufferInfo(gl, 1, 24),
|
||||
twgl.primitives.createTorusBufferInfo(gl, 1, 0.4, 24, 12),
|
||||
];
|
||||
|
||||
twgl.createFramebufferInfo(gl, [
|
||||
{ format: gl.RGBA, minMag: gl.NEAREST },
|
||||
]);
|
||||
twgl.bindFramebufferInfo(gl, null);
|
||||
|
||||
function render(time: number) {
|
||||
twgl.resizeCanvasToDisplaySize(canvas);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user