Skip to content

WebGL bind* (bindBuffer, bindTexture, ...) null error #3329

@DartBot

Description

@DartBot

This issue was originally filed by [email protected]


What steps will reproduce the problem?

  1. WebGL Startup
  2. gl.bindBuffer(WebGLRenderingContext.ARRAY_BUFFER, null) or
       gl.bindTexture(WebGLRenderingContext.TEXTURE_2D, null);

What is the expected output? What do you see instead?
I expect clear flow...

but output is
Exception: Invalid class: expected instance of WebGLTextureImplementation
Stack Trace: 0. Function: 'WebGLRenderingContextImplementation._bindTexture@fae6c99' url: 'e:\b\build\slave\dartium-win-full\build\src\build\Release\obj\global_intermediate\webkit\bindings\dart\dart\WebGLRenderingContextImplementation.dart' line:8 col:180
 1. Function: 'WebGLRenderingContextImplementation.bindTexture' url: 'e:\b\build\slave\dartium-win-full\build\src\build\Release\obj\global_intermediate\webkit\bindings\dart\dart\WebGLRenderingContextImplementation.dart' line:8 col:36
 2. Function: '[email protected]' url: 'e:\b\build\slave\dartium-win-full\build\src\build\Release\obj\global_intermediate\webkit\bindings\dart\html\dartium\WebGLRenderingContext.dart' line:2 col:894
 3. Function: 'Texture.function' url: 'http://127.0.0.1:3030/E:/Works/Halak/zxcv/dart/Graphics/Texture-web.dart' line:50 col:21
 4. Function: 'EventListenerListImplementation.function' url: 'e:\b\build\slave\dartium-win-full\build\src\dart\lib\dom\src\native_EventsImplementation.dart' line:18 col:122

What version of the product are you using? On what operating system?
Windows 7 32bit

Please provide any additional information below.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions