fix resize
This commit is contained in:
parent
27e912bcbd
commit
158c48f703
Binary file not shown.
BIN
Release/room.exe
BIN
Release/room.exe
Binary file not shown.
BIN
Release/room.pdb
BIN
Release/room.pdb
Binary file not shown.
@ -31,11 +31,11 @@ C:\Users\annas\Desktop\graf\cw 9\src\room.hpp(525,59): warning C4305: "argument"
|
||||
]
|
||||
C:\Users\annas\Desktop\graf\cw 9\src\room.hpp(526,37): warning C4305: "argument": obcięcie z "double" do "float"
|
||||
C:\Users\annas\Desktop\graf\cw 9\src\room.hpp(559,2): warning C4305: "argument": obcięcie z "double" do "float"
|
||||
C:\Users\annas\Desktop\graf\cw 9\src\room.hpp(684,21): warning C4305: "-=": obcięcie z "double" do "float"
|
||||
C:\Users\annas\Desktop\graf\cw 9\src\room.hpp(686,21): warning C4305: "+=": obcięcie z "double" do "float"
|
||||
C:\Users\annas\Desktop\graf\cw 9\src\room.hpp(687,21): warning C4305: "-=": obcięcie z "double" do "float"
|
||||
C:\Users\annas\Desktop\graf\cw 9\src\room.hpp(689,21): warning C4305: "+=": obcięcie z "double" do "float"
|
||||
Trwa generowanie kodu
|
||||
3 of 595 functions ( 0.5%) were compiled, the rest were copied from previous compilation.
|
||||
2 of 595 functions ( 0.3%) were compiled, the rest were copied from previous compilation.
|
||||
0 functions were new in current compilation
|
||||
7 functions had inline decision re-evaluated but remain unchanged
|
||||
6 functions had inline decision re-evaluated but remain unchanged
|
||||
Zakończono generowanie kodu
|
||||
grk-cw9.vcxproj -> C:\Users\annas\Desktop\graf\Release\room.exe
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -220,7 +220,7 @@ void drawObjectDepth(Core::RenderContext& context, glm::mat4 viewProjection, glm
|
||||
// glm::mat4 transformation = viewProjectionMatrix * modelMatrix;
|
||||
// glUniformMatrix4fv(glGetUniformLocation(programSkybox, "transformation"), 1, GL_FALSE, (float*)&transformation);
|
||||
// glUniform1i(glGetUniformLocation(programSkybox, "skybox"), 10);
|
||||
// //Core::SetActiveTexture(texture::cubemapTexture, "skybox", programSkybox, 10);
|
||||
// Core::SetActiveTexture(texture::cubemapTexture, "skybox", programSkybox, 0);
|
||||
// glUniform1f(glGetUniformLocation(programSkybox, "exposition"), exposition);
|
||||
// Core::DrawContext(context);
|
||||
// glEnable(GL_DEPTH_TEST);
|
||||
@ -585,6 +585,9 @@ void framebuffer_size_callback(GLFWwindow* window, int width, int height)
|
||||
glViewport(0, 0, width, height);
|
||||
WIDTH = width;
|
||||
HEIGHT = height;
|
||||
initBloom();
|
||||
initPingPong();
|
||||
|
||||
}
|
||||
|
||||
void loadModelToContext(std::string path, Core::RenderContext& context)
|
||||
|
Loading…
Reference in New Issue
Block a user