mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-22 04:52:39 +02:00
gfxGetFramebufferHandle: return id instead of handle
This commit is contained in:
parent
d87f9541d1
commit
b1600c9add
@ -460,7 +460,7 @@ u32 gfxGetFramebufferHandle(u32 index, u32* offset) {
|
|||||||
index = (g_gfxCurrentBuffer + index) & (g_nvgfx_totalframebufs-1);
|
index = (g_gfxCurrentBuffer + index) & (g_nvgfx_totalframebufs-1);
|
||||||
*offset = index*g_gfx_singleframebuf_size;
|
*offset = index*g_gfx_singleframebuf_size;
|
||||||
}
|
}
|
||||||
return nvMapGetHandle(&g_nvmap_obj);
|
return nvMapGetId(&g_nvmap_obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
u8* gfxGetFramebuffer(u32* width, u32* height) {
|
u8* gfxGetFramebuffer(u32* width, u32* height) {
|
||||||
|
Loading…
Reference in New Issue
Block a user