Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - santiagolardiez

Pages: [1]
1
System / Failed to activate OpenGL context
« on: January 12, 2024, 11:48:21 pm »
I am making a terrain generation program, and I want to get it to run relatively quickly (currently it takes 5 seconds to render a small 600, 600 size screen).

Right now, I am threading each row of pixels to draw each colored sprite every row simultaneously. I am getting stuck with a runtime error that says,

Failed to activate OpenGL context: The resource is in use.

I was wondering it this is a problem of thread syncing or maybe there is another better way to do this, because I know that drawing thousands of sprites is inefficient but I don't know of a better way on SFML.

2
SFML projects / Re: Simplex Noise generator
« on: January 12, 2024, 04:35:43 pm »
I am trying your library and I keep getting an error. I don't know what to do. Any help would be much appreciated

Pages: [1]