Skip to content

Commit 79449e7

Browse files
author
IMAGUS\milos
committed
Change background color
1 parent 1a4f907 commit 79449e7

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
.build
22
.DS_Store
3+
rprof.data
4+
rprof.js
5+
rprof.wasm
36

47

tools/rprof_inspector/main.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ int init()
173173
// Open a window and create its OpenGL context
174174
int canvasWidth = 800;
175175
int canvasHeight = 600;
176-
g_window = glfwCreateWindow( canvasWidth, canvasHeight, "Spike profiler", NULL, NULL);
176+
g_window = glfwCreateWindow( canvasWidth, canvasHeight, "rprof CPU profiler", NULL, NULL);
177177
if( g_window == NULL )
178178
{
179179
fprintf( stderr, "Failed to open GLFW window.\n" );
@@ -337,7 +337,7 @@ void loop()
337337
glfwMakeContextCurrent(g_window);
338338
glfwGetFramebufferSize(g_window, &display_w, &display_h);
339339
glViewport(0, 0, display_w, display_h);
340-
glClearColor(0.258f, 0.235f, 0.325f, 1.0f);
340+
glClearColor(0.21568f, 0.21568f, 0.34902f, 1.0f);
341341
glClear(GL_COLOR_BUFFER_BIT);
342342

343343
ImGui_ImplOpenGL3_RenderDrawData(ImGui::GetDrawData());

0 commit comments

Comments
 (0)