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

Update DirectXTexXbox.h #526

Closed
wants to merge 1 commit into from
Closed

Update DirectXTexXbox.h #526

wants to merge 1 commit into from

Conversation

karurung
Copy link

@karurung karurung commented Oct 6, 2024

'void*' to 'uint8_t*'

'void*' to 'uint8_t*'
@walbourn
Copy link
Member

walbourn commented Oct 7, 2024

Having this as distinct PRs is a little problematic because they won't build due to the mismatch of the h and cpp. Can you combine the header and .cpp files? If not, I can approve them in bulk after local testing.

@walbourn
Copy link
Member

Merging these changes into #538

@walbourn walbourn closed this Oct 24, 2024
@@ -163,16 +163,16 @@ namespace Xbox

HRESULT __cdecl CreateTexture(
_In_ ID3D12Device* d3dDevice,
_In_ const XboxImage& xbox, _Outptr_opt_ ID3D12Resource** ppResource, _Outptr_ void** grfxMemory);
_In_ const XboxImage& xbox, _Outptr_opt_ ID3D12Resource** ppResource, _Outptr_ const uint8_t** grfxMemory);
Copy link
Member

Choose a reason for hiding this comment

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

Note void* is actually the correct annotation for graphics memory. This is untyped memory in the video device range so could be really anything and maybe not byte accessible.

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