int stencil_buffer;
int accumulator_buffer[4]; // rgba
bool is_stereo;
- int multisample_buffers;
- int multisample_samples;
+ int multisamples;
bool is_swap_control;
bool is_hardware_only;
int mode[3]; // width, height, bpp
/**
* Get the current video context where draw commands are sent.
*/
- static video* current()
+ static video& current()
+ {
+ return *current_;
+ }
+
+ /**
+ * Get whether or not a video context is in place and is ready to
+ * received drawing commands.
+ */
+ static bool ready()
{
return current_;
}