-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Port to web #1263
base: main
Are you sure you want to change the base?
Port to web #1263
Conversation
|
1652c4f
to
1354f0b
Compare
Note that this turned out not to be enough to support webgl 2.0 See https://registry.khronos.org/webgl/specs/latest/2.0/#5.14
b6f5b1c
to
c7c0259
Compare
c7c0259
to
31108c1
Compare
31108c1
to
832c19b
Compare
832c19b
to
1097fcb
Compare
1097fcb
to
832c19b
Compare
RGB isn't supported in WebGL 2 and Opengl ES 3.
832c19b
to
15a4797
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clang-Tidy
found issue(s) with the introduced code (1/1)
return id; | ||
// The pixel pack buffer holds data in the RGBA32UInt format. | ||
glm::uvec4 pixel; | ||
this->pixelBuffer->copyTo(&pixel, (y * this->size.x + x) * 16U, 16U); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
performing an implicit widening conversion to type std::size_t
(aka unsigned long
) of a multiplication performed in type unsigned int
15a4797
to
7ead7d7
Compare
Description
For now, nukes a bunch of WebGL incompatible code
Checklist