aboutsummaryrefslogtreecommitdiff
path: root/opengl/system/pdp_3dp_base.c
blob: 5190c11f7fe31df28465bc30de7e386c62afc812 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#include "pdp_opengl.h"
#include "pdp_3dp_base.h"

#define THIS(b) t_pdp_3pd_base *b = (t_pdp_3pd_base *)x

/* destructor */
void pdp_3dp_base_free(void *x)
{
    // free super
    pdp_dpd_base_free(x);
}

/* init method */
void pdp_3dp_base_init(void *x)
{
    // init super
    pdp_dpd_base_init(x);

    // set processing queue to pdp_opengl system queue
    pdp_dpd_base_set_queue(x, pdp_opengl_get_queue());

}

/* class setup method */
void pdp_3dp_base_setup(t_class *class)
{
    // setup super
    pdp_dpd_base_setup(class);
}