Skip to content

Readme example does not work #2

Description

@dy

Hello!
The example in readme does not work as described:

var baboon = require('baboon-image');
var Texture = require('gl-texture2d');
var texture  = Texture(gl, baboon);

read(texture, function (err, data) {
});

Logs in console:

WebGL: INVALID_OPERATION: readPixels: invalid format/type combination

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions