summaryrefslogtreecommitdiffhomepage
path: root/examples/shaders
diff options
context:
space:
mode:
authorRay <[email protected]>2022-06-21 19:53:18 +0200
committerRay <[email protected]>2022-06-21 19:53:18 +0200
commitc1b01c0d5d2f2bb5108df910b2376d45314e7335 (patch)
tree02b65387eacae0324a3ff28851fa43d78cd6fb09 /examples/shaders
parent8bd3ecaa66a2a13dca9f7b3532b2c8b1298b206b (diff)
downloadraylib-c1b01c0d5d2f2bb5108df910b2376d45314e7335.tar.gz
raylib-c1b01c0d5d2f2bb5108df910b2376d45314e7335.zip
Added new comment to examples
Diffstat (limited to 'examples/shaders')
-rw-r--r--examples/shaders/shaders_basic_lighting.c3
-rw-r--r--examples/shaders/shaders_custom_uniform.c3
-rw-r--r--examples/shaders/shaders_eratosthenes.c3
-rw-r--r--examples/shaders/shaders_fog.c3
-rw-r--r--examples/shaders/shaders_hot_reloading.c3
-rw-r--r--examples/shaders/shaders_julia_set.c3
-rw-r--r--examples/shaders/shaders_model_shader.c3
-rw-r--r--examples/shaders/shaders_multi_sample2d.c3
-rw-r--r--examples/shaders/shaders_palette_switch.c3
-rw-r--r--examples/shaders/shaders_postprocessing.c3
-rw-r--r--examples/shaders/shaders_raymarching.c3
-rw-r--r--examples/shaders/shaders_shapes_textures.c3
-rw-r--r--examples/shaders/shaders_simple_mask.c3
-rw-r--r--examples/shaders/shaders_spotlight.c3
-rw-r--r--examples/shaders/shaders_texture_drawing.c3
-rw-r--r--examples/shaders/shaders_texture_outline.c3
-rw-r--r--examples/shaders/shaders_texture_waves.c3
17 files changed, 51 insertions, 0 deletions
diff --git a/examples/shaders/shaders_basic_lighting.c b/examples/shaders/shaders_basic_lighting.c
index 347096fd..47415850 100644
--- a/examples/shaders/shaders_basic_lighting.c
+++ b/examples/shaders/shaders_basic_lighting.c
@@ -30,6 +30,9 @@
#define GLSL_VERSION 100
#endif
+//------------------------------------------------------------------------------------
+// Program main entry point
+//------------------------------------------------------------------------------------
int main(void)
{
// Initialization
diff --git a/examples/shaders/shaders_custom_uniform.c b/examples/shaders/shaders_custom_uniform.c
index 60516c11..065f48df 100644
--- a/examples/shaders/shaders_custom_uniform.c
+++ b/examples/shaders/shaders_custom_uniform.c
@@ -24,6 +24,9 @@
#define GLSL_VERSION 100
#endif
+//------------------------------------------------------------------------------------
+// Program main entry point
+//------------------------------------------------------------------------------------
int main(void)
{
// Initialization
diff --git a/examples/shaders/shaders_eratosthenes.c b/examples/shaders/shaders_eratosthenes.c
index 65fd9f98..7e9794fd 100644
--- a/examples/shaders/shaders_eratosthenes.c
+++ b/examples/shaders/shaders_eratosthenes.c
@@ -31,6 +31,9 @@
#define GLSL_VERSION 100
#endif
+//------------------------------------------------------------------------------------
+// Program main entry point
+//------------------------------------------------------------------------------------
int main(void)
{
// Initialization
diff --git a/examples/shaders/shaders_fog.c b/examples/shaders/shaders_fog.c
index fef311c4..ebad7f2c 100644
--- a/examples/shaders/shaders_fog.c
+++ b/examples/shaders/shaders_fog.c
@@ -38,6 +38,9 @@
#define GLSL_VERSION 100
#endif
+//------------------------------------------------------------------------------------
+// Program main entry point
+//------------------------------------------------------------------------------------
int main(void)
{
// Initialization
diff --git a/examples/shaders/shaders_hot_reloading.c b/examples/shaders/shaders_hot_reloading.c
index b6ca8b68..6815d40c 100644
--- a/examples/shaders/shaders_hot_reloading.c
+++ b/examples/shaders/shaders_hot_reloading.c
@@ -23,6 +23,9 @@
#define GLSL_VERSION 100
#endif
+//------------------------------------------------------------------------------------
+// Program main entry point
+//------------------------------------------------------------------------------------
int main(void)
{
// Initialization
diff --git a/examples/shaders/shaders_julia_set.c b/examples/shaders/shaders_julia_set.c
index 90c44cf5..5f609d8c 100644
--- a/examples/shaders/shaders_julia_set.c
+++ b/examples/shaders/shaders_julia_set.c
@@ -35,6 +35,9 @@ const float pointsOfInterest[6][2] =
{ -0.70176f, -0.3842f },
};
+//------------------------------------------------------------------------------------
+// Program main entry point
+//------------------------------------------------------------------------------------
int main(void)
{
// Initialization
diff --git a/examples/shaders/shaders_model_shader.c b/examples/shaders/shaders_model_shader.c
index 5c53b43e..a55d7015 100644
--- a/examples/shaders/shaders_model_shader.c
+++ b/examples/shaders/shaders_model_shader.c
@@ -24,6 +24,9 @@
#define GLSL_VERSION 100
#endif
+//------------------------------------------------------------------------------------
+// Program main entry point
+//------------------------------------------------------------------------------------
int main(void)
{
// Initialization
diff --git a/examples/shaders/shaders_multi_sample2d.c b/examples/shaders/shaders_multi_sample2d.c
index fbe75085..748d205d 100644
--- a/examples/shaders/shaders_multi_sample2d.c
+++ b/examples/shaders/shaders_multi_sample2d.c
@@ -24,6 +24,9 @@
#define GLSL_VERSION 100
#endif
+//------------------------------------------------------------------------------------
+// Program main entry point
+//------------------------------------------------------------------------------------
int main(void)
{
// Initialization
diff --git a/examples/shaders/shaders_palette_switch.c b/examples/shaders/shaders_palette_switch.c
index 43578fce..2c6096b4 100644
--- a/examples/shaders/shaders_palette_switch.c
+++ b/examples/shaders/shaders_palette_switch.c
@@ -69,6 +69,9 @@ static const char *paletteText[] = {
"RKBV (2-strip film)"
};
+//------------------------------------------------------------------------------------
+// Program main entry point
+//------------------------------------------------------------------------------------
int main(void)
{
// Initialization
diff --git a/examples/shaders/shaders_postprocessing.c b/examples/shaders/shaders_postprocessing.c
index ebe5fcdb..67bd1f09 100644
--- a/examples/shaders/shaders_postprocessing.c
+++ b/examples/shaders/shaders_postprocessing.c
@@ -58,6 +58,9 @@ static const char *postproShaderText[] = {
//"FXAA"
};
+//------------------------------------------------------------------------------------
+// Program main entry point
+//------------------------------------------------------------------------------------
int main(void)
{
// Initialization
diff --git a/examples/shaders/shaders_raymarching.c b/examples/shaders/shaders_raymarching.c
index 68fbd30c..0cf300cc 100644
--- a/examples/shaders/shaders_raymarching.c
+++ b/examples/shaders/shaders_raymarching.c
@@ -20,6 +20,9 @@
#define GLSL_VERSION 100
#endif
+//------------------------------------------------------------------------------------
+// Program main entry point
+//------------------------------------------------------------------------------------
int main(void)
{
// Initialization
diff --git a/examples/shaders/shaders_shapes_textures.c b/examples/shaders/shaders_shapes_textures.c
index 4d4c964c..11b2a138 100644
--- a/examples/shaders/shaders_shapes_textures.c
+++ b/examples/shaders/shaders_shapes_textures.c
@@ -24,6 +24,9 @@
#define GLSL_VERSION 100
#endif
+//------------------------------------------------------------------------------------
+// Program main entry point
+//------------------------------------------------------------------------------------
int main(void)
{
// Initialization
diff --git a/examples/shaders/shaders_simple_mask.c b/examples/shaders/shaders_simple_mask.c
index 981e6486..678e0f9d 100644
--- a/examples/shaders/shaders_simple_mask.c
+++ b/examples/shaders/shaders_simple_mask.c
@@ -27,6 +27,9 @@
#define GLSL_VERSION 100
#endif
+//------------------------------------------------------------------------------------
+// Program main entry point
+//------------------------------------------------------------------------------------
int main(void)
{
// Initialization
diff --git a/examples/shaders/shaders_spotlight.c b/examples/shaders/shaders_spotlight.c
index e0a9ac5b..94dfac47 100644
--- a/examples/shaders/shaders_spotlight.c
+++ b/examples/shaders/shaders_spotlight.c
@@ -64,6 +64,9 @@ typedef struct Star {
void UpdateStar(Star *s);
void ResetStar(Star *s);
+//------------------------------------------------------------------------------------
+// Program main entry point
+//------------------------------------------------------------------------------------
int main(void)
{
// Initialization
diff --git a/examples/shaders/shaders_texture_drawing.c b/examples/shaders/shaders_texture_drawing.c
index a8cd5abf..b070e61e 100644
--- a/examples/shaders/shaders_texture_drawing.c
+++ b/examples/shaders/shaders_texture_drawing.c
@@ -21,6 +21,9 @@
#define GLSL_VERSION 100
#endif
+//------------------------------------------------------------------------------------
+// Program main entry point
+//------------------------------------------------------------------------------------
int main(void)
{
// Initialization
diff --git a/examples/shaders/shaders_texture_outline.c b/examples/shaders/shaders_texture_outline.c
index c40abf95..97ef4843 100644
--- a/examples/shaders/shaders_texture_outline.c
+++ b/examples/shaders/shaders_texture_outline.c
@@ -22,6 +22,9 @@
#define GLSL_VERSION 100
#endif
+//------------------------------------------------------------------------------------
+// Program main entry point
+//------------------------------------------------------------------------------------
int main(void)
{
// Initialization
diff --git a/examples/shaders/shaders_texture_waves.c b/examples/shaders/shaders_texture_waves.c
index 7d396fd1..d212d0b9 100644
--- a/examples/shaders/shaders_texture_waves.c
+++ b/examples/shaders/shaders_texture_waves.c
@@ -26,6 +26,9 @@
#define GLSL_VERSION 100
#endif
+//------------------------------------------------------------------------------------
+// Program main entry point
+//------------------------------------------------------------------------------------
int main(void)
{
// Initialization