Firefox Mobile error: WebGL warning: vertexAttribPointer: -1 is not a valid index

Đang mở
#335 7 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
javascript

Hướng nghiên cứu

Start with the supplied live example and reproduce the issue in Firefox Mobile 55 on Android 7.1.1, then trace Phaser CE v2.8.4's automatic renderer selection and the Pixi.js WebGL attribute warning. The report names no source files or tests, so first identify the renderer and attribute code involved. Done means the example works on the reported browser, with Canvas selected when automatic mode requires it.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

help wanted
  • A bug in the API:
    • Phaser version(s): v2.8.4
    • Live example: Memory done following phaserjs.com's tutorial
    • What should happen: Phaser should select CANVAS since it is in auto when I try it under Firefox Mobile 55 (Android 7.1.1)
    • What happens instead: I see the Game view, but nothing happen when I click to pass the title screen. On the console I have the following:
      Phaser CE v2.8.4 | Pixi.js | WebGL | WebAudio " http://phaser.io "♥♥♥
      Error: WebGL warning: vertexAttribPointer: -1 is not a valid index. This value probably comes from a getAttribLocation() call, where this return value -1 means that the passed name didn't correspond to an active attribute in the specified program.
      ...
  • A problem with my own code (maybe)

I think it really is a bug in PIXI.js OR Firefox Mobile but since I know none of them...

Be nice. We do this for free. <3

Ngôn ngữ chính
JavaScript
Star
1.4k
Fork
485
Merge trung bình
1 ngày 2 giờ
Pull request đã merge (30 ngày)
9

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của phaserjs/phaser-ce

Tất cả issue của phaserjs/phaser-ce

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.