Skip to content
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

Adjustments needed to get Angelica (Iris/Oculus backport) working #88

Merged
merged 11 commits into from
Nov 23, 2023

Conversation

mitchej123
Copy link
Contributor

No description provided.

@@ -154,6 +154,13 @@ public static void glGetActiveUniform(int program, int index, java.nio.IntBuffer
org.lwjgl.opengl.GL20.glGetActiveUniform(program, index, length, size, type, name);
}

public static String glGetActiveUniform(int program, int index, int maxLength, java.nio.IntBuffer sizeType) {
java.nio.IntBuffer type = org.lwjgl.BufferUtils.createIntBuffer(1);
Copy link
Contributor Author

@mitchej123 mitchej123 Nov 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worth reusing a (static) buffer for this? 🤔

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

possibly, a ThreadLocal would make sense

@eigenraven eigenraven marked this pull request as ready for review November 23, 2023 20:57
@eigenraven eigenraven changed the title WIP Adjustments needed to get Angelica (Iris/Oculus backport) working Adjustments needed to get Angelica (Iris/Oculus backport) working Nov 23, 2023
@eigenraven eigenraven merged commit f8c4a5e into master Nov 23, 2023
1 check passed
@eigenraven eigenraven deleted the angelica-work branch November 23, 2023 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants