Skip to content

Commit

Permalink
d3d11?
Browse files Browse the repository at this point in the history
  • Loading branch information
briaguya-ai committed Jan 10, 2025
1 parent 3a11bc8 commit 0965986
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/graphic/Fast3D/gfx_direct3d11.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1230,7 +1230,7 @@ gfx_d3d11_get_pixel_depth(int fb_id, const std::set<std::pair<float, float>>& co
} // namespace

ImTextureID gfx_d3d11_get_texture_by_id(unsigned long long id) {
return d3d.textures[id].resource_view.Get();
return (unsigned long long)d3d.textures[id].resource_view.Get();
}

void gfx_d3d11_enable_srgb_mode() {
Expand Down

0 comments on commit 0965986

Please sign in to comment.