LWJGL calls in Slick2D code.

I know that slick2d is built on top of LWJGL but when I try to use an immediate mode call like this:


glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
glColor3f(1f, 1f, 1f);
glBegin(GL_LINES);
 glVertex2f(10, 5);
 glVertex2f(10, 15);
glEnd();

I don’t understand as this is valid LWJGL code yet it does not work in slick. Does it have something to do with the spritebatch or something? IDK.