fix wrong MICRO usage
							parent
							
								
									2c6eaa4dc9
								
							
						
					
					
						commit
						e1a8de6147
					
				| 
						 | 
					@ -1664,7 +1664,7 @@ PlumageRender::PlumageRender():
 | 
				
			||||||
				std::string strModelFilePath;
 | 
									std::string strModelFilePath;
 | 
				
			||||||
				strModelFilePath = guiFunc.openFileFolderDialog();
 | 
									strModelFilePath = guiFunc.openFileFolderDialog();
 | 
				
			||||||
				filePath.glTFModelFilePath = strModelFilePath;
 | 
									filePath.glTFModelFilePath = strModelFilePath;
 | 
				
			||||||
				PlumageRender::prepare();
 | 
									loadAssets();
 | 
				
			||||||
				
 | 
									
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			if(overlay->button("select vertexShader"))
 | 
								if(overlay->button("select vertexShader"))
 | 
				
			||||||
| 
						 | 
					@ -1680,12 +1680,4 @@ PlumageRender::PlumageRender():
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	PlumageRender* plumageRender; LRESULT __stdcall WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) {
 | 
						PLUMAGE_RENDER_MAIN()
 | 
				
			||||||
		if (plumageRender != 0) {
 | 
					 | 
				
			||||||
			plumageRender->handleMessages(hWnd, uMsg, wParam, lParam);
 | 
					 | 
				
			||||||
		} return (DefWindowProcA(hWnd, uMsg, wParam, lParam));
 | 
					 | 
				
			||||||
	} int __stdcall WinMain(HINSTANCE hInstance, HINSTANCE, LPSTR, int) {
 | 
					 | 
				
			||||||
		for (int32_t i = 0; i < (*__p___argc()); i++) {
 | 
					 | 
				
			||||||
			PlumageRender::args.push_back((*__p___argv())[i]);
 | 
					 | 
				
			||||||
		}; plumageRender = new PlumageRender(); plumageRender->initVulkan(); plumageRender->setupWindow(hInstance, WndProc); plumageRender->prepare(); plumageRender->renderLoop(); delete(plumageRender); return 0;
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue