-
Notifications
You must be signed in to change notification settings - Fork 15
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
Add support for multisample antialiasing #319
base: main
Are you sure you want to change the base?
Conversation
Free memory for int and float array uniforms when the uniform or shader is destroyed.
Adds a new signature for texture constructors that accepts an object for the third argument.
Doesn’t it already allow you provide either a solid color or buffer? Agreed that passing an object is more future-proof though. |
Yeah, I think this is the point where it gets unwieldy to have many signatures, and this is easier to have different combinations, so I made sure it replicated the existing functionality for constructing a new surface (except for textures loaded from file, which multisampling doesn't work/make sense for anyway) |
BTW, |
I was recently told the current Ubuntu LTS includes 5.2.x, and I'm pretty sure homebrew has 5.2 also, so that shouldn't be an issue. |
Does |
c4a1aa9
to
bd48982
Compare
Adds a new signature for texture constructors that accepts an object for the third argument so that textures can be constructed with a color or buffer and multisampling.
Multisampling has to be ignored if content is provided because the underlying buffer seems to change. (I got graphical glitches when I tried)