mirror of
https://github.com/aap/librw.git
synced 2025-12-19 17:09:51 +00:00
skeleton: bump imgui to 1.83
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
add_executable(subrast WIN32
|
||||
main.cpp subrast.cpp
|
||||
main.cpp
|
||||
subrast.cpp
|
||||
subrast.h
|
||||
)
|
||||
|
||||
target_link_libraries(subrast
|
||||
@@ -10,6 +12,7 @@ target_link_libraries(subrast
|
||||
|
||||
add_custom_command(
|
||||
TARGET subrast POST_BUILD
|
||||
COMMAND "${CMAKE_COMMAND}" -E make_directory "$<TARGET_FILE_DIR:subrast>/files"
|
||||
COMMAND "${CMAKE_COMMAND}" -E copy_directory "${CMAKE_CURRENT_SOURCE_DIR}/files" "$<TARGET_FILE_DIR:subrast>/files"
|
||||
)
|
||||
|
||||
|
||||
@@ -129,9 +129,11 @@ Initialize3D(void)
|
||||
AmbientLight = CreateAmbientLight(World);
|
||||
MainLight = CreateMainLight(World);
|
||||
Clump = CreateClump(World);
|
||||
if (Clump == nil)
|
||||
return false;
|
||||
|
||||
CreateCameras(World);
|
||||
UpdateSubRasters(Camera, sk::globals.width, sk::globals.height);
|
||||
UpdateSubRasters(Camera, sk::globals.width, sk::globals.height);
|
||||
|
||||
rw::SetRenderState(rw::CULLMODE, rw::CULLBACK);
|
||||
rw::SetRenderState(rw::ZTESTENABLE, 1);
|
||||
|
||||
Reference in New Issue
Block a user