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

fix: Make GfxPluginNativeRender function properly with new config. #1036

Merged
merged 93 commits into from
Dec 21, 2024

Conversation

paulhazen
Copy link
Contributor

@paulhazen paulhazen commented Nov 30, 2024

This PR fixes the native component of the plugin to function properly with the new config files.

It has been tested and is functioning properly, but this PR does not include the unit tests that prove that.

I recommend that because development is in a broken state because of the native code component when in standalone on Windows, we get these changes in and supplement them with the unit testing.

One area that still needs to be tested is the steam integration component. I have been limited in my ability to test that due to a lack of understanding all the mechanics of that process.

#EOS-2231

…y ConsoleApplication. Remove extraneous comments in ConsoleApplication.cpp.
…tead of copying the parameter value each time. Also add documentation to functions that have been altered.
… body of read_config_json_as_json_from_path, and added a check for the return value of fclose within that function.
@paulhazen paulhazen added the enhancement New feature or request label Nov 30, 2024
@paulhazen paulhazen self-assigned this Nov 30, 2024
@@ -101,7 +101,7 @@ namespace pew::eos::string_helpers
}

// wide_str must be null terminated if wide_str_len is passed
bool copy_to_utf8_str_from_wide_str(char* RESTRICT utf8_str, size_t utf8_str_len, const wchar_t* RESTRICT wide_str, int wide_str_len)

Choose a reason for hiding this comment

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

That is true, but I don't think the change is needed to get the gfx code to read the config file.

@paulhazen paulhazen force-pushed the fix/native-use-new-config branch from 84f2ffb to 70b4fc6 Compare December 19, 2024 08:43
@paulhazen paulhazen merged commit eaed384 into development Dec 21, 2024
@paulhazen paulhazen deleted the fix/native-use-new-config branch January 17, 2025 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants