<commit_before>/*
 * This is a demo to show off GL goodnees
 */

#include <iostream>
#include <string>

#include "SDL4Cpp.h"
#include <GL/gl.h>
#include <GL/glu.h>

void Extensions()
{
	char *extensions = (char *)glGetString(GL_EXTENSIONS);

	if(!extensions)
	{
		std::cout << "No Extensions" << std::endl;
		return;
	}

	std::cout << "Extensions: " << std::endl;
	while(*extensions)
	{
		unsigned int len = strcspn(extensions, " ");<commit_msg>Made TestGL more platform agnostic by including SDL_opengl.h Because different platforms use different conventions for OpenGL, it's best (at least for this) to include SDL's so that all the platform dependant includes are done for us.<commit_after>/*
 * This is a demo to show off GL goodnees
 */

#include <iostream>
#include <string>

#include "SDL4Cpp.h"
#include "SDL_opengl.h"

void Extensions()
{
	char *extensions = (char *)glGetString(GL_EXTENSIONS);

	if(!extensions)
	{
		std::cout << "No Extensions" << std::endl;
		return;
	}

	std::cout << "Extensions: " << std::endl;
	while(*extensions)
	{
		unsigned int len = strcspn(extensions, " ");
{'fraction_non_alphanumeric': 0.14507299270072993, 'fraction_numerical': 0.0018248175182481751, 'mean_word_length': 4.625641025641026, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2799837', 'n_tokens_mistral': 398, 'n_tokens_neox': 380, 'n_words': 113}