Hi all!
On Sat, 30 Oct 2021 18:46:19 -0700 (PDT)
Anton Strickland <
antonmst...@gmail.com> wrote:
> I have been stuck on a very simple issue for multiple days and need someone
> who knows what they are doing. I'm trying to use SDL2 and WebGL2 (OpenGL ES
> 3) and sometimes it works, but sometimes it doesn't, depending on seemingly
> arbitrary code. Please help. See here for the full details and source code:
>
>
https://gist.github.com/AntonStrickland/433c911151ca73826ee679b120fe8d9e
>
Note that I was able to reproduce the issue on fedora v34 x86-64 with firefox:
```
System:
Host:
telaviv1.shlomifish.org Kernel: 5.14.14-200.fc34.x86_64 x86_64
bits: 64 Desktop: Xfce 4.16.0 Distro: Fedora release 34 (Thirty Four)
CPU:
Info: Dual Core model: Intel Core i3-2100 bits: 64 type: MT MCP cache:
L2: 3 MiB
Speed: 2750 MHz min/max: 1600/3100 MHz Core speeds (MHz): 1: 2750
2: 2698 3: 2709 4: 2694
Graphics:
Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics
driver: i915 v: kernel Display: x11 server: X.Org 1.20.11 driver: loaded:
modesetting unloaded: fbdev,vesa resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa DRI Intel HD Graphics 2000 (SNB GT1)
v: 3.3 Mesa 21.1.8
```
As a side note: main.cpp has some trailing whitespace:
https://perl-begin.org/tutorials/bad-elements/#trailing-whitespace
> - Is this a problem with my code, my makefile, SDL, or emscripten?
> - If this is not a problem with my code, is someone going to fix the
> issue?
> - If my desktop code is Open GL 3.3, should I be using OpenGL ES 3 or is
> that part of the problem? And what files do I need to include and where do
> I get them (if what I have isn't correct?)
> - What is the proper way to set up an emscripten webgl context? My
> source code includes two different ways of setting it up and I am not sure
> which is correct, even after trial and error.
> - Can I get someone who is willing to at least compile the code
> themselves and try out different solutions until they find something that
> can provide an explanation? I don't want someone to suggest adding a
> single argument to my makefile, and then hours later I get home to try it out
> and realize that it actually causes the program to fail. My program is small
> enough that someone can copy and paste it together, compile it, and run it
> in less than 2 minutes. There is no reason to not do that yourself to
> check that it works before suggesting a solution to me. I am just a little
> frustrated at this point so please don't take it the wrong way, I just
> want someone to take me seriously so I can move on to the next step of my
> project.
> - If this mailing list is not the best place to quickly get help like
> that, who do I need to contact? I am willing to pay for work if that needs
> to be done, but I don't think that should be necessary to get a "hello
> world" program up and running, especially when I've already come this far
> on my own.
>
>
>
--
Shlomi Fish
https://www.shlomifish.org/
Free (Creative Commons) Music Downloads, Reviews and more -
https://jamendo.com/
<LeoNerd> “I hear eclipse is really nice, but I’m still waiting for it to
load.”
— Freenode’s #perl
Please reply to list if it's a mailing list post -
https://shlom.in/reply .