Adding basic texture fragment shader kernel
This commit is contained in:
@@ -78,7 +78,10 @@ void CALLBACK FixedUpdate(HWND hwnd, UINT message, UINT uInt, DWORD dWord)
|
||||
TIME += 0.167;
|
||||
HandleButtonPressed();
|
||||
camera.ApplyChanges();
|
||||
clock_t start = clock();
|
||||
render();
|
||||
clock_t end = clock();
|
||||
printf("FPS: %f\n", 1/((float)(end-start)/CLOCKS_PER_SEC));
|
||||
Update();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user