Well SDL and Allegro are not graphics libraries, OpenGL and Direct3D are graphics libraries.
Now do you want to actually program a game, or are you just looking to program some sort of GUI?
Well SDL and Allegro are not graphics libraries, OpenGL and Direct3D are graphics libraries.
Now do you want to actually program a game, or are you just looking to program some sort of GUI?