@@ -321,6 +321,14 @@ void main(void) {
321
321
322
322
info ("Welcome to FrostWing Operating System!" , "(https://github.com/Frost-Wing)" );
323
323
324
+ // glCreateContext();
325
+ // glCreateContextCustom(framebuffer->address, framebuffer->width, framebuffer->height);
326
+ // glClearColor(0, 0, 0, 0xff);
327
+ // glClear(GL_COLOR_BUFFER_BIT);
328
+ // display_png(module_request.response->modules[1]->address, module_request.response->modules[1]->size);
329
+ // glDrawTriangle((uvec2){10, 10}, (uvec2){100, 100}, (uvec2){100, 10}, 0xffdadbad, false);
330
+ // glDestroyContext(null);
331
+
324
332
// glDestroyContext(null);
325
333
326
334
// Below code is for triggering Page Fault
@@ -376,12 +384,6 @@ void main(void) {
376
384
// int status_code = execute_binary();
377
385
// printf("return code: 0x%x", status_code);
378
386
379
- // glCreateContext();
380
- // glCreateContextCustom(front_buffer, framebuffer->width, framebuffer->height);
381
- // glClearColor(0, 0, 0, 0xff);
382
- // glClear(GL_COLOR_BUFFER_BIT);
383
- // glDrawTriangle((uvec2){10, 10}, (uvec2){100, 100}, (uvec2){100, 10}, 0xffdadbad, false);
384
- // glDestroyContext(null);
385
387
386
388
extern char * login_request ();
387
389
0 commit comments