GDC & Pandaboard/QEMU & Framebuffer

John A via Digitalmars-d digitalmars-d at puremagic.com
Thu Oct 23 23:04:53 PDT 2014


> Next up, running the ./testgl3 on QEMU causes a seg fault.
Ok, it's working:

import derelict.opengl3.gl3;
extern (C) void printf(const char*, ...);
void main()
   {
   printf("Start opengl: \n");
   DerelictGL3.load();
   printf("Start opengl: version %d\n", DerelictGL3.loadedVersion);
   }

prints this in QEMU

   Start opengl:
   Start opengl: version 11

Next, create a triangle.


More information about the Digitalmars-d mailing list