Skip to content

removed global jniref, fairly heavy handed, might need to add some ca…#26

Merged
mjtalbot merged 3 commits intomasterfrom
ridJNIenvRef
Apr 9, 2021
Merged

removed global jniref, fairly heavy handed, might need to add some ca…#26
mjtalbot merged 3 commits intomasterfrom
ridJNIenvRef

Conversation

@mjtalbot
Copy link
Copy Markdown
Contributor

@mjtalbot mjtalbot commented Apr 9, 2021

…ching in here later


auto aaSetter = getJNIEnv()->GetMethodID(paintClass, "setAntiAlias", "(Z)V");
getJNIEnv()->CallVoidMethod(jObject, aaSetter, ::JNIRenderer::antialias);
auto aaSetter = env->GetMethodID(getPaintClass(), "setAntiAlias", "(Z)V");
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

shoudl this all move out?! probably....

mjtalbot added 2 commits April 9, 2021 10:48
…en constructing renderer, we should probaby have some form of init, so we dont have to pepper our code with this?
@mjtalbot mjtalbot merged commit 76182dc into master Apr 9, 2021
@mjtalbot mjtalbot linked an issue Apr 9, 2021 that may be closed by this pull request
@mjtalbot mjtalbot deleted the ridJNIenvRef branch April 12, 2021 17:24
mjtalbot added a commit that referenced this pull request Jun 26, 2022
removed global jniref, fairly heavy handed, might need to add some ca…
mjtalbot added a commit that referenced this pull request Jun 26, 2022
removed global jniref, fairly heavy handed, might need to add some ca…
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.

Stability issue: crash after opening riv-file multiple times

1 participant