Just assume GL_ARB_texture_non_power_of_two and a number of other extensions are...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 20 May 2018 23:59:04 +0000 (23:59 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 20 May 2018 23:59:04 +0000 (23:59 +0000)
commitea165f1fabf5482f920308899a606eef655dfa89
tree7afc3b81162e3394417d9ebd80044cf52c02f4bf
parentc254ce3c4b01b2f7f41ea719d78a64d064465d19
Just assume GL_ARB_texture_non_power_of_two and a number of other extensions are supported, this simplifies a lot of conditions.

Always use GL_ARB_vertex_buffer_object.

Remove use of glDrawRangeElements as it doesn't exist in GL3.2 Core Profile, and is less necessary with GL_ARB_vertex_buffer_object.

Merge a number of extensions into the core opengl functions.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12428 d7cf8633-e32d-0410-b094-e92efae38249
cl_screen.c
ft2.c
gl_backend.c
gl_backend.h
gl_rmain.c
gl_textures.c
glquake.h
r_shadow.c
vid.h
vid_sdl.c
vid_shared.c