Skip to content

Commit

Permalink
Logo
Browse files Browse the repository at this point in the history
  • Loading branch information
Bloodysharp committed Sep 28, 2024
1 parent 525b0a4 commit d2ff88c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1,267 deletions.
4 changes: 2 additions & 2 deletions example_win32_directx11/imgui.ini
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ Size=322,102

[Window][##NOTIFY0]
Pos=15,15
Size=362,79
Size=396,79

[Window][##NOTIFY1]
Pos=15,105
Size=362,79
Size=396,79

[Window][##NOTIFY2]
Pos=15,195
Expand Down
3 changes: 1 addition & 2 deletions example_win32_directx11/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -625,8 +625,7 @@ int main(int, char**)

//Byte
D3DX11_IMAGE_LOAD_INFO info; ID3DX11ThreadPump* pump{ nullptr };
if (texture::logo == nullptr)
D3DX11CreateShaderResourceViewFromMemory(g_pd3dDevice, logo_type, sizeof(logo_type), &info, pump, &texture::logo, 0);

if (texture::foto == nullptr)
D3DX11CreateShaderResourceViewFromMemory(g_pd3dDevice, foto_type, sizeof(foto_type), &info, pump, &texture::foto, 0);

Expand Down
Loading

0 comments on commit d2ff88c

Please sign in to comment.